summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.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
commitf94a5bfe940893900cc0d5409d991bcf6fb5ce5e (patch)
tree76737c53cdeec1daefefa86157833e8e93227a6f /bfd/bfd-in.h
parent494b493dc0f907decb6e2c31c86b48432127ba6d (diff)
downloadbinutils-redhat-f94a5bfe940893900cc0d5409d991bcf6fb5ce5e.tar.gz
Correctly check gcc version.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 91b7868c58..127d96136f 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