Commit dbe3166c authored by David Reid's avatar David Reid

Fix compilation errors with TCC.

parent d48671a9
...@@ -337,8 +337,10 @@ extern "C" { ...@@ -337,8 +337,10 @@ extern "C" {
#define MAL_HAS_STDINT #define MAL_HAS_STDINT
#endif #endif
#else #else
#if defined(__has_include) && __has_include(<stdint.h>) #if defined(__has_include)
#define MAL_HAS_STDINT #if __has_include(<stdint.h>)
#define MAL_HAS_STDINT
#endif
#endif #endif
#endif #endif
#endif #endif
...@@ -353,7 +355,7 @@ typedef unsigned int mal_uint32; ...@@ -353,7 +355,7 @@ typedef unsigned int mal_uint32;
#if defined(_MSC_VER) #if defined(_MSC_VER)
typedef signed __int64 mal_int64; typedef signed __int64 mal_int64;
typedef unsigned __int64 mal_uint64; typedef unsigned __int64 mal_uint64;
#elif defined(__GNUC__) #else
typedef signed long long int mal_int64; typedef signed long long int mal_int64;
typedef unsigned long long int mal_uint64; typedef unsigned long long int mal_uint64;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment