projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8df888
)
(__attribute): Define to nothing for GCC 2.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 24 Sep 2005 23:01:17 +0000
(23:01 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 24 Sep 2005 23:01:17 +0000
(23:01 +0000)
This works around a core dump on OpenBSD 3.4, which has GCC
2.95.3, which dumps core when given __attribute__(()).
lib/regex_internal.h
patch
|
blob
|
history
diff --git
a/lib/regex_internal.h
b/lib/regex_internal.h
index 95df77cac0da8da7820e7dac6a96353598b6abae..3616473446877403cab06096abf0150495a51894 100644
(file)
--- a/
lib/regex_internal.h
+++ b/
lib/regex_internal.h
@@
-131,7
+131,7
@@
# define attribute_hidden
#endif /* not _LIBC */
-#if
def __GNUC__
+#if
__GNUC__ >= 3
# define __attribute(arg) __attribute__ (arg)
#else
# define __attribute(arg)