https://github.com/Kitware/CMake
Revision f10929ae7ce3d62c7f49ffc9a98abf5d6b267b81 authored by Brad King on 24 September 2009, 12:10:46 UTC, committed by Brad King on 24 September 2009, 12:10:46 UTC
The commit "Fix KWSys SystemTools build on cygwin with -mwin32" tried to
restore the state of the _WIN32 definition that was broken by the commit
"Optimize KWSys SystemTools::FileExists on Windows".  It did so for the
case of building with -mwin32 on cygwin, but since including <windows.h>
defines _WIN32, it failed for the case of not using -mwin32.

This commit restores the state of _WIN32 in all cases by undefining it
after including <windows.h> if it was not defined beforehand.
1 parent d6ffe2d
History
Tip revision: f10929ae7ce3d62c7f49ffc9a98abf5d6b267b81 authored by Brad King on 24 September 2009, 12:10:46 UTC
Restore KWSys SystemTools _WIN32 state on cygwin
Tip revision: f10929a
File Mode Size
Docs
Example
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 305 bytes
CMakeCPack.cmake -rw-r--r-- 4.9 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 2.6 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 17.8 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CTestConfig.cmake -rw-r--r-- 413 bytes
CTestCustom.cmake.in -rw-r--r-- 1.8 KB
CTestCustom.ctest.in -rw-r--r-- 145 bytes
ChangeLog.txt -rw-r--r-- 2.5 MB
CompileFlags.cmake -rw-r--r-- 1.8 KB
Copyright.txt -rw-r--r-- 2.2 KB
DartConfig.cmake -rw-r--r-- 236 bytes
DartLocal.conf.in -rw-r--r-- 4.0 KB
Readme.txt -rw-r--r-- 1.9 KB
bootstrap -rwxr-xr-x 47.5 KB
cmake.1 -rw-r--r-- 3.6 KB
cmake_uninstall.cmake.in -rw-r--r-- 968 bytes
configure -rwxr-xr-x 114 bytes
doxygen.config -rw-r--r-- 27.7 KB

Readme.txt

back to top