#define __attribute__ to be null if compiling with GCC older than 2.7,
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 Jan 1997 20:37:37 +0000 (15:37 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 19 Jan 1997 20:37:37 +0000 (15:37 -0500)
not 2.6.

From-SVN: r13522

gcc/cccp.c
gcc/cexp.y

index 930c9143b6e34194a5fb925ff777ff9a0dd10b2d..93f5c355c47a8913a39fe32f6272b91fa93178d0 100644 (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
 
index 93d3c3b6a0b25a6d7a213f2e1383b63e764a4cff..7155207946c1e51b87a863df6c352a073c47c2c3 100644 (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