summaryrefslogtreecommitdiff
path: root/flexint.h
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2006-03-21 02:17:56 +0000
committerJohn Millaway <john43@users.sourceforge.net>2006-03-21 02:17:56 +0000
commit81351ccb95e44db2c7d161c172b8f6e280ae457a (patch)
tree2f91bff99af47bc24bddb2c0872efb1eaea8b0bd /flexint.h
parent752a1f673c80aa00a250b7658ec24600d202d0d5 (diff)
Relaxed tests for __STDC__ and __STDC_VERSION__ to cope with bugs in GCC and Sun cc.
Diffstat (limited to 'flexint.h')
-rw-r--r--flexint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flexint.h b/flexint.h
index 4088715..60e9127 100644
--- a/flexint.h
+++ b/flexint.h
@@ -5,7 +5,7 @@
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-#if __STDC_VERSION__ >= 199901L
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.