(__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 f75c3cdd7848d913af95966392ccce355f1f8435..38ae1d07d3d0ba10be1c1fd61b3567390f27c2ee 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