Fix warnings related to undefined defines and implicit casts

This commit is contained in:
2024-06-08 12:26:20 +03:00
parent fd39ee8692
commit 54c33ec67a
5 changed files with 20 additions and 8 deletions

View File

@@ -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;