diff options
author | Jim Meyering <jim@meyering.net> | 1999-09-28 15:26:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-09-28 15:26:45 +0000 |
commit | 4a03ccc044ff2dc86bbd1de4641a2442caa7044e (patch) | |
tree | a8714419809a06ee462f10f77d9d49d57fcff286 /lib | |
parent | 57d52e5170bd4aa269600ef61720697a88a61f96 (diff) | |
download | coreutils-4a03ccc044ff2dc86bbd1de4641a2442caa7044e.tar.xz |
(__attribute__): Protect against redefinition.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xalloc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/xalloc.h b/lib/xalloc.h index f75c3cdd7..38ae1d07d 100644 --- 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 |