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
1 file changed