summaryrefslogtreecommitdiff
path: root/bfd/libbfd-in.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/libbfd-in.h
parent14958a432dbf8acd11a54f9956a12290dc1ea6e2 (diff)
Correctly check gcc version.
Diffstat (limited to 'bfd/libbfd-in.h')
-rw-r--r--bfd/libbfd-in.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index 79a176d063..aece1e15a5 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -1,6 +1,6 @@
/* libbfd.h -- Declarations used by bfd library *implementation*.
(This include file is not for users of the library.)
- Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999
+ Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -506,8 +506,8 @@ void bfd_assert PARAMS ((const char*,int));
extern void _bfd_abort PARAMS ((const char *, int, const char *))
ATTRIBUTE_NORETURN;
-/* if gcc, we can give a function name, too */
-#if !defined (__GNUC__) || __GNUC_MINOR__ <= 5
+/* if gcc >= 2.6, we can give a function name, too */
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
#define __PRETTY_FUNCTION__ ((char *) NULL)
#endif