cmake: Use MSVC atomics with clang-cl

llvm-svn: 231022
This commit is contained in:
Reid Kleckner 2015-03-02 22:00:23 +00:00
parent 7859a834b5
commit 446a0d1329
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ endif()
CHECK_CXX_SOURCE_COMPILES("
#ifdef _MSC_VER
#include <Intrin.h> /* Workaround for PR19898. */
#include <windows.h>
#endif
int main() {