#define __attribute__ to be null if compiling with GCC older than 2.7,

not 2.6.

From-SVN: r13522
This commit is contained in:
Richard Kenner 1997-01-19 15:37:37 -05:00
parent c0298b551f
commit 883dc89ca6
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ my_bzero (b, length)
# endif /* !defined (BSTRING) && (defined (USG) || defined (VMS)) */
#endif /* ! STDC_HEADERS */
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
# define __attribute__(x)
#endif

View File

@ -101,7 +101,7 @@ struct arglist {
#endif
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
# define __attribute__(x)
#endif