commit | 46999ba6514604c021f8ec30df15e47568840c85 | [log] [tgz] |
---|---|---|
author | Oscar Fuentes <ofv@wanadoo.es> | Sun Dec 06 00:06:33 2009 +0000 |
committer | Oscar Fuentes <ofv@wanadoo.es> | Sun Dec 06 00:06:33 2009 +0000 |
tree | 7e5823315ef31fe3c59f63cf255357d0ce1ad4b6 | |
parent | ac88a7eecd22b24ede69845dd74cae286ff14816 [diff] [blame] |
CheckAtomic.cmake: Put all C++ code inside CHECK_CXX_SOURCE_COMPILES. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90685 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/cmake/modules/CheckAtomic.cmake b/cmake/modules/CheckAtomic.cmake index 6c4da66..f40ff4d 100644 --- a/cmake/modules/CheckAtomic.cmake +++ b/cmake/modules/CheckAtomic.cmake
@@ -2,11 +2,10 @@ INCLUDE(CheckCXXSourceCompiles) +CHECK_CXX_SOURCE_COMPILES(" #ifdef _MSC_VER #include <windows.h> #endif - -CHECK_CXX_SOURCE_COMPILES(" int main() { #ifdef _MSC_VER volatile LONG val = 1;