diff --git a/miniaudio.h b/miniaudio.h index 8de486ae..87181aaa 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -7612,6 +7612,13 @@ Atomics #if defined(__cplusplus) extern "C" { #endif +#if defined(__GNUC__) + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wlong-long" + #if defined(__clang__) + #pragma GCC diagnostic ignored "-Wc++11-long-long" + #endif +#endif typedef signed char c89atomic_int8; typedef unsigned char c89atomic_uint8; typedef signed short c89atomic_int16; @@ -7625,6 +7632,9 @@ typedef unsigned __int64 c89atomic_uint64; typedef unsigned long long c89atomic_int64; typedef unsigned long long c89atomic_uint64; #endif +#if defined(__GNUC__) + #pragma GCC diagnostic pop +#endif typedef int c89atomic_memory_order; typedef unsigned char c89atomic_bool; typedef unsigned char c89atomic_flag;