From 0b4ab6f08a81ba34b99c4f50531309e20b774c59 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 22 Sep 2015 03:15:35 +0000 Subject: [PATCH] Fix with -pedantic-errors git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@248240 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/__config b/include/__config index e951f9b1..55410972 100644 --- a/include/__config +++ b/include/__config @@ -786,7 +786,7 @@ extern "C" void __sanitizer_annotate_contiguous_container( #define _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS #endif -#if __has_extension(c_atomic) +#if __has_feature(cxx_atomic) || __has_extension(c_atomic) #define _LIBCPP_HAS_C_ATOMIC_IMP #elif _GNUC_VER > 407 #define _LIBCPP_HAS_GCC_ATOMIC_IMP