mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/system.h: Need to define __attribute__ away for non-GCC
compilers as well (i.e. the vendor C compiler). Suggested by Albert Chin-A-Young.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2002-01-20 Marc Autret <marc@gnu.org>
|
||||
|
||||
* src/system.h: Need to define __attribute__ away for non-GCC
|
||||
compilers as well (i.e. the vendor C compiler).
|
||||
Suggested by Albert Chin-A-Young.
|
||||
|
||||
2002-01-11 Tim Van Holder <tim.van.holder@pandora.be>
|
||||
|
||||
* lib/hash.h, lib/hash.c: Renamed __P to PARAMS and used the
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user