summaryrefslogtreecommitdiff
path: root/bfd/libhppa.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/libhppa.h
parent494b493dc0f907decb6e2c31c86b48432127ba6d (diff)
downloadbinutils-redhat-f94a5bfe940893900cc0d5409d991bcf6fb5ce5e.tar.gz
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__));