From 9f9336cb0a8c33cbd501f7a3e6703b7c457427b1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 3 Oct 1999 23:30:09 +0000 Subject: [PATCH] (__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. --- lib/getdate.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0