summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 91f43f3..345e9cb 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -34,7 +34,7 @@
#endif
#undef inline
-#if __STDC_VERSION__ > 199901L
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ > 199901L
/* it's a keyword */
#else
# if __GNUC_PREREQ (2,7)