projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4360528
)
(__attribute__): Define it to be empty for compilers
CPPI-1_10
author
Jim Meyering
<jim@meyering.net>
Sat, 14 Jul 2001 19:47:20 +0000
(19:47 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 14 Jul 2001 19:47:20 +0000
(19:47 +0000)
that don't support that syntax.
lib/obstack.c
patch
|
blob
|
history
diff --git
a/lib/obstack.c
b/lib/obstack.c
index
0789459
..
b510c77
100644
(file)
--- a/
lib/obstack.c
+++ b/
lib/obstack.c
@@
-471,6
+471,13
@@
_obstack_memory_used (h)
# define fputs(s, f) _IO_fputs (s, f)
# endif
+#ifndef __attribute__
+/* This feature is available in gcc versions 2.5 and later. */
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
+# define __attribute__(Spec) /* empty */
+# endif
+#endif
+
static void
__attribute__ ((noreturn))
print_and_abort ()