X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/43cc2463d26364b13b776dd272170a809b2db800..e89a22bfab22e4d2ee73be49dcb66b51f8d0e892:/src/system.h diff --git a/src/system.h b/src/system.h index feffaee5..8d480333 100644 --- a/src/system.h +++ b/src/system.h @@ -138,7 +138,8 @@ void *memrchr PARAMS ((const void *s, int c, size_t n)); #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ +# if !defined (__GNUC__) || __GNUC__ < 2 || \ +(__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ # define __attribute__(Spec) /* empty */ # endif /* The __-protected variants of `format' and `printf' attributes