mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-10051 disable U_HAVE_STD_ATOMICS on Apple LLVM Clang. When there's a version known which works, this can be changed.
X-SVN-Rev: 33809
This commit is contained in:
parent
2193ad4563
commit
917d765cfa
1 changed files with 1 additions and 2 deletions
|
@ -207,8 +207,7 @@ 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__<=1
|
||||
#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. */
|
||||
# define U_HAVE_STD_ATOMICS 0
|
||||
#elif __clang__ && __clang_major__==3 && __clang_minor__<=1
|
||||
|
|
Loading…
Add table
Reference in a new issue