summaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-04-29 00:56:29 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-04-29 00:56:29 +0000
commitc55a72bf395312eac043928849156f2be112cc2b (patch)
tree33c7970ffce97bee379b8878c542f2e025570f0c /bfd/bfd-in2.h
parent715fa58edc0a93bbd783934bcd75429f067427de (diff)
downloadgdb-c55a72bf395312eac043928849156f2be112cc2b.tar.gz
Correctly check gcc version.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index f00e8a1869c..8d89199bdf8 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.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