diff options
| author | Mikhail Romanko <me@blankhex.com> | 2024-06-08 12:26:20 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2024-06-08 12:26:31 +0300 |
| commit | 54c33ec67a3a10ae57fdb691a08047b322217de0 (patch) | |
| tree | 682e49b468523ad135c47bcbcc633b7290b37dce /include/bh/platform.h | |
| parent | fd39ee8692f88580b4f9f130ad0a831fb9163024 (diff) | |
| download | bhlib-old-54c33ec67a3a10ae57fdb691a08047b322217de0.tar.gz | |
Fix warnings related to undefined defines and implicit casts
Diffstat (limited to 'include/bh/platform.h')
| -rw-r--r-- | include/bh/platform.h | 2 |
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; |
