summaryrefslogtreecommitdiff
path: root/lib/xalloc.h
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 /lib/xalloc.h
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 'lib/xalloc.h')
-rw-r--r--lib/xalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xalloc.h b/lib/xalloc.h
index 38ae1d07d..c9bbb1386 100644
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -27,7 +27,7 @@
# endif
# ifndef __attribute__
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
# define __attribute__(x)
# endif
# endif