OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef20302
)
cmake: Use MSVC atomics with clang-cl
author
Reid Kleckner
<reid@kleckner.net>
Mon, 2 Mar 2015 22:00:23 +0000
(22:00 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Mon, 2 Mar 2015 22:00:23 +0000
(22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231022
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/CheckAtomic.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/CheckAtomic.cmake
b/cmake/modules/CheckAtomic.cmake
index
30a5e31
..
a03788e
100644
(file)
--- a/
cmake/modules/CheckAtomic.cmake
+++ b/
cmake/modules/CheckAtomic.cmake
@@
-13,6
+13,7
@@
endif()
CHECK_CXX_SOURCE_COMPILES("
#ifdef _MSC_VER
+#include <Intrin.h> /* Workaround for PR19898. */
#include <windows.h>
#endif
int main() {