Update c89atomic.

This commit is contained in:
David Reid
2020-08-02 11:53:00 +10:00
parent d0149a0374
commit 4830c9f5b5
+9 -9
View File
@@ -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;
@@ -7604,12 +7597,19 @@ typedef unsigned int c89atomic_uint32;
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
#pragma GCC diagnostic ignored "-Wlong-long"
#if defined(__clang__)
#pragma GCC diagnostic ignored "-Wc++11-long-long"
#endif #endif
#endif
typedef signed long long c89atomic_int64;
typedef unsigned long long c89atomic_uint64;
#if defined(__GNUC__) #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;
typedef unsigned char c89atomic_flag; typedef unsigned char c89atomic_flag;