mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update c89atomic to fix a warning on GCC and Clang.
This commit is contained in:
+10
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user