Fix compilation errors with TCC.

This commit is contained in:
David Reid
2018-04-29 18:51:26 +10:00
parent d48671a9af
commit dbe3166c0e
+5 -3
View File
@@ -337,8 +337,10 @@ extern "C" {
#define MAL_HAS_STDINT
#endif
#else
#if defined(__has_include) && __has_include(<stdint.h>)
#define MAL_HAS_STDINT
#if defined(__has_include)
#if __has_include(<stdint.h>)
#define MAL_HAS_STDINT
#endif
#endif
#endif
#endif
@@ -353,7 +355,7 @@ typedef unsigned int mal_uint32;
#if defined(_MSC_VER)
typedef signed __int64 mal_int64;
typedef unsigned __int64 mal_uint64;
#elif defined(__GNUC__)
#else
typedef signed long long int mal_int64;
typedef unsigned long long int mal_uint64;
#endif