diff options
author | Alan Modra <amodra@gmail.com> | 2000-04-29 00:56:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-04-29 00:56:29 +0000 |
commit | a1934524a3fc1e93084d3148ddf590eb78eba875 (patch) | |
tree | 953088caff9e271c09fbfcabddc5d069d368eaf5 /bfd/bfd-in.h | |
parent | 14958a432dbf8acd11a54f9956a12290dc1ea6e2 (diff) | |
download | gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.zip gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.tar.gz gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.tar.bz2 |
Correctly check gcc version.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 91b7868..127d961 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -89,7 +89,7 @@ typedef struct _bfd bfd; /* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */ /* It gets worse if the host also defines a true/false enum... -sts */ /* And even worse if your compiler has built-in boolean types... -law */ -#if defined (__GNUG__) && (__GNUC_MINOR__ > 5) +#if defined (__GNUG__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6)) #define TRUE_FALSE_ALREADY_DEFINED #endif #ifdef MPW |