From fd78a7dd5c4bb36618f67921ef2564cf8c7f9189 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 2 Mar 2015 22:00:23 +0000 Subject: [PATCH] cmake: Use MSVC atomics with clang-cl git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231022 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/CheckAtomic.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake index 30a5e311292..a03788ec9f9 100644 --- a/cmake/modules/CheckAtomic.cmake +++ b/cmake/modules/CheckAtomic.cmake @@ -13,6 +13,7 @@ endif() CHECK_CXX_SOURCE_COMPILES(" #ifdef _MSC_VER +#include /* Workaround for PR19898. */ #include #endif int main() {