diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-24 22:59:06 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-24 22:59:06 +0000 |
commit | 5a29d2d43060218d520d2f078784466d14128454 (patch) | |
tree | 1996e280612c2cd3bc72dff1f78b0e485dc5f016 | |
parent | ed3a66aa5ed316a9afb9f33dbb7c826b156db9cd (diff) | |
download | coreutils-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__(()).
-rw-r--r-- | lib/regex_internal.h | 2 |
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) |