From: Jim Meyering Date: Mon, 4 Oct 1999 05:59:37 +0000 (+0000) Subject: (__attribute__): Define to empty if GCC claims to X-Git-Tag: FILEUTILS-4_0j-trial~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ca4f162fa8c80b0bea7de3cf6becb0982ce0c83;p=thirdparty%2Fcoreutils.git (__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. --- diff --git a/lib/getdate.y b/lib/getdate.y index e67af871ee..c698584ebf 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