aboutsummaryrefslogtreecommitdiff
path: root/include/bh/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bh/platform.h')
-rw-r--r--include/bh/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bh/platform.h b/include/bh/platform.h
index 59d9051..f80efda 100644
--- a/include/bh/platform.h
+++ b/include/bh/platform.h
@@ -12,7 +12,7 @@ typedef float bh_float32_t;
typedef double bh_float64_t;
/* Platform specific type definition */
-#if __STDC_VERSION__ >= 199901L || defined(__GNUC__)
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__)
#include <stdint.h>
typedef int32_t bh_int32_t;