From: Paul Eggert Date: Sun, 3 Oct 1999 23:30:09 +0000 (+0000) Subject: (__attribute__): Don't use if GCC claims to be before 2.8; this is X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=9f9336cb0a8c33cbd501f7a3e6703b7c457427b1;p=chaz%2Ftar (__attribute__): Don't use if GCC claims to be before 2.8; this is needed for OPENStep 4.2 cc. Also, don't use if strict ANSI. --- diff --git a/lib/getdate.y b/lib/getdate.y index 2cb3ddc..165a2df 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -73,7 +73,7 @@ # include #endif -#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__ # define __attribute__(x) #endif