(__attribute__): Protect against redefinition.
authorJim Meyering <jim@meyering.net>
Tue, 28 Sep 1999 15:26:45 +0000 (15:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 28 Sep 1999 15:26:45 +0000 (15:26 +0000)
lib/xalloc.h

index f75c3cd..38ae1d0 100644 (file)
 #  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