]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(__attribute__): Wrap with #ifndef __attribute__.
authorJim Meyering <jim@meyering.net>
Mon, 4 Oct 1999 06:04:19 +0000 (06:04 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 4 Oct 1999 06:04:19 +0000 (06:04 +0000)
src/sys2.h

index c7260aa010c15776dd70e36a2bce57241988462d..b39dfd296c2db5c798a6730ff4cd3c62fe661856 100644 (file)
@@ -358,8 +358,10 @@ char *base_name PARAMS ((char const *));
 # define IF_LINT(Code) /* empty */
 #endif
 
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
-# define __attribute__(x)
+#ifndef __attribute__
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
+#  define __attribute__(x)
+# endif
 #endif
 
 #ifndef ATTRIBUTE_NORETURN