diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-06 05:26:49 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-06 05:26:49 +0000 |
| commit | bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39 (patch) | |
| tree | e288d8a3385f0e4ff95295b335db1568533fd9ab /libcxx/src/include | |
| parent | 5d9ecd23e8b7e84376d8361a49b6e6b923a623f5 (diff) | |
| download | bcm5719-llvm-bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39.tar.gz bcm5719-llvm-bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39.zip | |
Refer to _LIBCPP_MSVC macro where applicable
Replace preprocess conditions of defined(_MSC_VER) &&
!defined(__clang__) with defined(_LIBCPP_MSVC). NFC.
Patch by Dave Lee!
llvm-svn: 294171
Diffstat (limited to 'libcxx/src/include')
| -rw-r--r-- | libcxx/src/include/atomic_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/include/atomic_support.h b/libcxx/src/include/atomic_support.h index af0f5f505ea..378541b2325 100644 --- a/libcxx/src/include/atomic_support.h +++ b/libcxx/src/include/atomic_support.h @@ -29,7 +29,7 @@ #endif #if !defined(_LIBCPP_HAS_ATOMIC_BUILTINS) && !defined(_LIBCPP_HAS_NO_THREADS) -# if defined(_MSC_VER) && !defined(__clang__) +# if defined(_LIBCPP_MSVC) _LIBCPP_WARNING("Building libc++ without __atomic builtins is unsupported") # else # warning Building libc++ without __atomic builtins is unsupported |

