am 86437bbb: am fbee7f97: am f8d4dfbf: Merge "Cherry-pick: Only use <atomic> for C++11 and newer"

* commit '86437bbb6569b6018bf386c7bdeaa70e1c0d81f5':
  Cherry-pick: Only use <atomic> for C++11 and newer
This commit is contained in:
Andrew Hsieh
2014-10-30 18:50:59 +00:00
committed by Android Git Automerger

View File

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