mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 00:34:03 +02:00
Update c89atomic.
This commit is contained in:
+24
-24
@@ -7587,32 +7587,32 @@ 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"
|
||||
typedef signed char c89atomic_int8;
|
||||
typedef unsigned char c89atomic_uint8;
|
||||
typedef signed short c89atomic_int16;
|
||||
typedef unsigned short c89atomic_uint16;
|
||||
typedef signed int c89atomic_int32;
|
||||
typedef unsigned int c89atomic_uint32;
|
||||
#if defined(_MSC_VER)
|
||||
typedef signed __int64 c89atomic_int64;
|
||||
typedef unsigned __int64 c89atomic_uint64;
|
||||
#else
|
||||
#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 long long c89atomic_int64;
|
||||
typedef unsigned long long c89atomic_uint64;
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
typedef signed char c89atomic_int8;
|
||||
typedef unsigned char c89atomic_uint8;
|
||||
typedef signed short c89atomic_int16;
|
||||
typedef unsigned short c89atomic_uint16;
|
||||
typedef signed int c89atomic_int32;
|
||||
typedef unsigned int c89atomic_uint32;
|
||||
#if defined(_MSC_VER)
|
||||
typedef signed __int64 c89atomic_int64;
|
||||
typedef unsigned __int64 c89atomic_uint64;
|
||||
#else
|
||||
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;
|
||||
typedef int c89atomic_memory_order;
|
||||
typedef unsigned char c89atomic_bool;
|
||||
typedef unsigned char c89atomic_flag;
|
||||
#if !defined(C89ATOMIC_64BIT) && !defined(C89ATOMIC_32BIT)
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN64
|
||||
|
||||
Reference in New Issue
Block a user