Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.

Bug: 16874785
Change-Id: I8512f8be3fd149d8720c5c3b4657bedd5ce2b1d1
This commit is contained in:
Elliott Hughes
2014-08-29 15:54:11 -07:00
parent 83b637fa28
commit e0c56efddf
3 changed files with 22 additions and 22 deletions

View File

@@ -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