Commit 4830c9f5 authored by David Reid's avatar David Reid

Update c89atomic.

parent d0149a03
...@@ -7587,13 +7587,6 @@ Atomics ...@@ -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; ...@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment