diff options
author | John Millaway <john43@users.sourceforge.net> | 2006-03-21 02:17:56 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2006-03-21 02:17:56 +0000 |
commit | 81351ccb95e44db2c7d161c172b8f6e280ae457a (patch) | |
tree | 2f91bff99af47bc24bddb2c0872efb1eaea8b0bd /flex.skl | |
parent | 752a1f673c80aa00a250b7658ec24600d202d0d5 (diff) |
Relaxed tests for __STDC__ and __STDC_VERSION__ to cope with bugs in GCC and Sun cc.
Diffstat (limited to 'flex.skl')
-rw-r--r-- | flex.skl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -200,11 +200,12 @@ m4preproc_include(`flexint.h') #else /* ! __cplusplus */ -#if __STDC__ +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) #define YY_USE_CONST -#endif /* __STDC__ */ +#endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST |