Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.
Bug: 16874785 Change-Id: I8512f8be3fd149d8720c5c3b4657bedd5ce2b1d1
This commit is contained in:
@@ -138,7 +138,7 @@ using std::atomic_uintmax_t;
|
||||
|
||||
#if __has_extension(c_atomic) || __has_extension(cxx_atomic)
|
||||
#define __CLANG_ATOMICS
|
||||
#elif __GNUC_PREREQ__(4, 7)
|
||||
#elif __GNUC_PREREQ(4, 7)
|
||||
#define __GNUC_ATOMICS
|
||||
#elif defined(__GNUC__)
|
||||
#define __SYNC_ATOMICS
|
||||
|
Reference in New Issue
Block a user