[llvm-commits] [llvm] r90685 - /llvm/trunk/cmake/modules/CheckAtomic.cmake
Oscar Fuentes
ofv at wanadoo.es
Sat Dec 5 16:06:33 PST 2009
Author: ofv
Date: Sat Dec 5 18:06:33 2009
New Revision: 90685
URL: http://llvm.org/viewvc/llvm-project?rev=90685&view=rev
Log:
CheckAtomic.cmake: Put all C++ code inside CHECK_CXX_SOURCE_COMPILES.
Modified:
llvm/trunk/cmake/modules/CheckAtomic.cmake
Modified: llvm/trunk/cmake/modules/CheckAtomic.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/CheckAtomic.cmake?rev=90685&r1=90684&r2=90685&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/CheckAtomic.cmake (original)
+++ llvm/trunk/cmake/modules/CheckAtomic.cmake Sat Dec 5 18:06:33 2009
@@ -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;
More information about the llvm-commits
mailing list