summaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-29 00:56:29 +0000
committerAlan Modra <amodra@gmail.com>2000-04-29 00:56:29 +0000
commita1934524a3fc1e93084d3148ddf590eb78eba875 (patch)
tree953088caff9e271c09fbfcabddc5d069d368eaf5 /bfd/libhppa.h
parent14958a432dbf8acd11a54f9956a12290dc1ea6e2 (diff)
Correctly check gcc version.
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r--bfd/libhppa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h
index 649bcabb67..f52a7322c7 100644
--- a/bfd/libhppa.h
+++ b/bfd/libhppa.h
@@ -1,5 +1,5 @@
/* HP PA-RISC SOM object file format: definitions internal to BFD.
- Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 98, 1999
+ Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 98, 99, 2000
Free Software Foundation, Inc.
Contributed by the Center for Software Science at the
@@ -35,7 +35,7 @@
#endif /* GNU C? */
#endif /* INLINE */
-#if __GNUC__ >= 2 && __GNUC_MINOR__ >= 7
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
/* Declare the functions with the unused attribute to avoid warnings. */
static INLINE unsigned int assemble_3 (unsigned int)
__attribute__ ((__unused__));