mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Update c89atomic.
This commit is contained in:
+13
-13
@@ -7587,13 +7587,6 @@ Atomics
|
|||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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 signed char c89atomic_int8;
|
||||||
typedef unsigned char c89atomic_uint8;
|
typedef unsigned char c89atomic_uint8;
|
||||||
typedef signed short c89atomic_int16;
|
typedef signed short c89atomic_int16;
|
||||||
@@ -7601,14 +7594,21 @@ typedef unsigned short c89atomic_uint16;
|
|||||||
typedef signed int c89atomic_int32;
|
typedef signed int c89atomic_int32;
|
||||||
typedef unsigned int c89atomic_uint32;
|
typedef unsigned int c89atomic_uint32;
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
typedef signed __int64 c89atomic_int64;
|
typedef signed __int64 c89atomic_int64;
|
||||||
typedef unsigned __int64 c89atomic_uint64;
|
typedef unsigned __int64 c89atomic_uint64;
|
||||||
#else
|
#else
|
||||||
typedef unsigned long long c89atomic_int64;
|
#if defined(__GNUC__)
|
||||||
typedef unsigned long long c89atomic_uint64;
|
#pragma GCC diagnostic push
|
||||||
#endif
|
#pragma GCC diagnostic ignored "-Wlong-long"
|
||||||
#if defined(__GNUC__)
|
#if defined(__clang__)
|
||||||
|
#pragma GCC diagnostic ignored "-Wc++11-long-long"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
typedef signed long long c89atomic_int64;
|
||||||
|
typedef unsigned long long c89atomic_uint64;
|
||||||
|
#if defined(__GNUC__)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
typedef int c89atomic_memory_order;
|
typedef int c89atomic_memory_order;
|
||||||
typedef unsigned char c89atomic_bool;
|
typedef unsigned char c89atomic_bool;
|
||||||
|
|||||||
Reference in New Issue
Block a user