X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1694ac5cf22d96c57ef1fb8cf8f75de50135ef88..f1ceed07743630aa2aef7c77d8bde23c3794ee1b:/data/glr.c diff --git a/data/glr.c b/data/glr.c index ec483fb1..2a130a6b 100644 --- a/data/glr.c +++ b/data/glr.c @@ -310,7 +310,8 @@ b4_percent_code_get[]dnl #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if (! defined __GNUC__ || __GNUC__ < 2 \ - || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__) + || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) \ + || (defined __STRICT_ANSI__ && __STRICT_ANSI__)) # define __attribute__(Spec) /* empty */ # endif #endif