llvm.org GIT mirror llvm / c595e6c
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 Oscar Fuentes 9 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11
22 INCLUDE(CheckCXXSourceCompiles)
33
4 CHECK_CXX_SOURCE_COMPILES("
45 #ifdef _MSC_VER
56 #include
67 #endif
7
8 CHECK_CXX_SOURCE_COMPILES("
98 int main() {
109 #ifdef _MSC_VER
1110 volatile LONG val = 1;