summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-10-04 06:02:41 +0000
committerJim Meyering <jim@meyering.net>1999-10-04 06:02:41 +0000
commit0226382b34debd1d6d48df8084ef7be03c469620 (patch)
treea12aed86d41de96c0214f50f1cdcafafe66cd1ee /src
parent1ca4f162fa8c80b0bea7de3cf6becb0982ce0c83 (diff)
downloadcoreutils-0226382b34debd1d6d48df8084ef7be03c469620.tar.xz
(__attribute__): Define to empty if GCC claims to
be before 2.8; this is needed for OPENStep 4.2 cc. Also, define to empty if strict ANSI.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h
index d051c48b1..c7260aa01 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -358,7 +358,7 @@ char *base_name PARAMS ((char const *));
# define IF_LINT(Code) /* empty */
#endif
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
# define __attribute__(x)
#endif