4
0
Эх сурвалжийг харах

(__attribute__): Don't use if GCC claims to be before 2.8; this is
needed for OPENStep 4.2 cc. Also, don't use if strict ANSI.

Paul Eggert 25 жил өмнө
parent
commit
9f9336cb0a
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/getdate.y

+ 1 - 1
lib/getdate.y

@@ -73,7 +73,7 @@
 # include <string.h>
 #endif
 
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
 # define __attribute__(x)
 #endif