diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-04-20 23:22:46 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-04-20 23:22:46 +0000 |
commit | a67beb7b946e71d0338cc49389850c6384ec4716 (patch) | |
tree | 880dcedd5c969af1056bf816ec78fed4c57017e9 /CMakeLists.txt | |
parent | 6ca6874880b48e2ed87ffca8025b4d3e31bcba97 (diff) |
Fix ATOMIC_<TYPE>_LOCK_FREE macros on Windows.
Previously the ATOMIC_<TYPE>_LOCK_FREE macros were implemented
using __GCC_ATOMIC_<TYPE>_LOCK_FREE but GCC specific macros
are defined when -fms-compatibility is specified.
To avoid this Libc++ now tries to use the newly added
__CLANG_ATOMIC_<TYPE>_LOCK_FREE macros instead, and only falls
back to the GCC versions when the Clang ones aren't available.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions