Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1958:3bf5a026bc95
(__attribute__): Protect against redefinition.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 28 Sep 1999 15:26:45 +0000 |
parents | ff7525910d7b |
children | ee819a83fd8a |
files | lib/xalloc.h |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/xalloc.h +++ b/lib/xalloc.h @@ -26,8 +26,10 @@ # endif # endif -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) -# define __attribute__(x) +# ifndef __attribute__ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(x) +# endif # endif # ifndef ATTRIBUTE_NORETURN