]> Dogcows Code - chaz/tar/commitdiff
(__attribute__): Don't use if GCC claims to be before 2.8; this is
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Oct 1999 23:30:09 +0000 (23:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Oct 1999 23:30:09 +0000 (23:30 +0000)
needed for OPENStep 4.2 cc.  Also, don't use if strict ANSI.

lib/getdate.y

index 2cb3ddc56f39c76d2beeb259d471daf9f79e5fff..165a2df34882aff1d7aa9507da10e135467e42ba 100644 (file)
@@ -73,7 +73,7 @@
 # include <string.h>
 #endif
 
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
 # define __attribute__(x)
 #endif
 
This page took 0.024101 seconds and 4 git commands to generate.