aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 91f43f30b..345e9cb7a 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)