summaryrefslogtreecommitdiff
path: root/lib/regex_internal.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-24 22:59:06 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-24 22:59:06 +0000
commit5a29d2d43060218d520d2f078784466d14128454 (patch)
tree1996e280612c2cd3bc72dff1f78b0e485dc5f016 /lib/regex_internal.h
parented3a66aa5ed316a9afb9f33dbb7c826b156db9cd (diff)
downloadcoreutils-5a29d2d43060218d520d2f078784466d14128454.tar.xz
(__attribute): Define to nothing for GCC 2.
This works around a core dump on OpenBSD 3.4, which has GCC 2.95.3, which dumps core when given __attribute__(()).
Diffstat (limited to 'lib/regex_internal.h')
-rw-r--r--lib/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index 95df77cac..361647344 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -131,7 +131,7 @@
# define attribute_hidden
#endif /* not _LIBC */
-#ifdef __GNUC__
+#if __GNUC__ >= 3
# define __attribute(arg) __attribute__ (arg)
#else
# define __attribute(arg)