Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.
Bug: 16874785
(cherry picked from commit e0c56efddf)
Change-Id: I9c922ba019f648766fc399d1c4e35e789e25acd4
This commit is contained in:
@@ -125,7 +125,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