From 883dc89ca676d703431db2490b72ca80c0696eb5 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 19 Jan 1997 15:37:37 -0500 Subject: [PATCH] #define __attribute__ to be null if compiling with GCC older than 2.7, not 2.6. From-SVN: r13522 --- gcc/cccp.c | 2 +- gcc/cexp.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/cccp.c b/gcc/cccp.c index 930c9143b6e..93f5c355c47 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -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 diff --git a/gcc/cexp.y b/gcc/cexp.y index 93d3c3b6a0b..7155207946c 100644 --- a/gcc/cexp.y +++ b/gcc/cexp.y @@ -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