From 1ca4f162fa8c80b0bea7de3cf6becb0982ce0c83 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Oct 1999 05:59:37 +0000 Subject: [PATCH] (__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. --- lib/getdate.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3