X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e1dd105c0a8c27693ded168675165deddeb2521c..4162fa07ae9fdbd8cc356d805f26d531fadcdb60:/src/system.h diff --git a/src/system.h b/src/system.h index 52b8cf7a..392f4eec 100644 --- a/src/system.h +++ b/src/system.h @@ -134,7 +134,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 @@ -272,25 +273,6 @@ do { \ # endif /* ! MSDOS */ #endif /* ! VMS */ -#if defined (VMS) & !defined (__VMS_POSIX) -# ifndef BISON_SIMPLE -# define BISON_SIMPLE "GNU_BISON:[000000]BISON.SIMPLE" -# endif -# ifndef BISON_HAIRY -# define BISON_HARIRY "GNU_BISON:[000000]BISON.HAIRY" -# endif -#endif - -#if defined (_MSC_VER) -# ifndef BISON_SIMPLE -# define BISON_SIMPLE "c:/usr/local/lib/bison.simple" -# endif -# ifndef BISON_HAIRY -# define BISON_HAIRY "c:/usr/local/lib/bison.hairy" -# endif -#endif - - /* As memcpy, but for shorts. */ #define shortcpy(Dest, Src, Num) \ memcpy (Dest, Src, Num * sizeof (short))