am f8d4dfbf: Merge "Cherry-pick: Only use <atomic> for C++11 and newer"
* commit 'f8d4dfbff6035e87e941cb75affac86c6d7e144e': Cherry-pick: Only use <atomic> for C++11 and newer
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
|
||||
#if defined(__cplusplus) && defined(_USING_LIBCXX)
|
||||
#if defined(__cplusplus) && __cplusplus >= 201103L && defined(_USING_LIBCXX)
|
||||
# ifdef __clang__
|
||||
# if __has_feature(cxx_atomic)
|
||||
# define _STDATOMIC_HAVE_ATOMIC
|
||||
|
||||
Reference in New Issue
Block a user