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:
Elliott Hughes
2014-08-29 15:54:11 -07:00
parent 67f1f3b171
commit b2eb09a9ed
3 changed files with 22 additions and 22 deletions

View File

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