(__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.
This commit is contained in:
Paul Eggert
1999-10-03 23:30:09 +00:00
parent f4f13c4705
commit 9f9336cb0a

View File

@@ -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