Mercurial > hg > octave-jordi > gnulib-hg
diff lib/obstack.c @ 3293:a3e558e29878
(__attribute__): Define it to be empty for compilers
that don't support that syntax.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 14 Jul 2001 19:47:20 +0000 (2001-07-14) |
parents | 7fed086612ed |
children | 9594c5ad3ab8 |
line wrap: on
line diff
--- a/lib/obstack.c +++ b/lib/obstack.c @@ -471,6 +471,13 @@ # 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 ()