summaryrefslogtreecommitdiffstats
path: root/libc/include/stdatomic.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-29 15:54:11 -0700
committerElliott Hughes <enh@google.com>2014-08-29 16:10:57 -0700
commitb2eb09a9ed9e08d9e49f4245d1959b2ca3fbaaf8 (patch)
treeb23fbc09640c7af3e43d0f31e8dc86e820ff2f27 /libc/include/stdatomic.h
parent67f1f3b171ecd5f68f51465bbe4b8c8440bb6b2e (diff)
downloadbionic-b2eb09a9ed9e08d9e49f4245d1959b2ca3fbaaf8.zip
bionic-b2eb09a9ed9e08d9e49f4245d1959b2ca3fbaaf8.tar.gz
bionic-b2eb09a9ed9e08d9e49f4245d1959b2ca3fbaaf8.tar.bz2
Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.
Bug: 16874785 (cherry picked from commit e0c56efddf55ad40cb35b2c22e1dd9b4b50df159) Change-Id: I9c922ba019f648766fc399d1c4e35e789e25acd4
Diffstat (limited to 'libc/include/stdatomic.h')
-rw-r--r--libc/include/stdatomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/stdatomic.h b/libc/include/stdatomic.h
index 2c04221..6854d8b 100644
--- a/libc/include/stdatomic.h
+++ b/libc/include/stdatomic.h
@@ -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