ICU-10050 disable C++11 std atomics on Macintosh

X-SVN-Rev: 33885
This commit is contained in:
Andy Heninger 2013-07-04 22:32:33 +00:00
parent b62f044d82
commit a740170f81

View File

@ -207,8 +207,8 @@ typedef size_t uintptr_t;
/* Use the predefined value. */
#elif defined(__cplusplus) && __cplusplus>=201103L
/* C++11, so we should have atomics, except for specific platforms or compilers. */
#if __clang__ && defined(__apple_build_version__) /* && __clang_major__==4 && __clang_minor__<=2 */
/* Apple Clang 4.1, based on public llvm 3.1. Atomics are not fully implemented. */
#if __clang__ && defined(__APPLE__)
/* Apple Clang Atomics are not fully implemented yet. */
# define U_HAVE_STD_ATOMICS 0
#elif __clang__ && __clang_major__==3 && __clang_minor__<=1
/* Clang 3.1. Atomics not fully implemented. */