summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-04 21:52:24 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-04 21:52:24 (GMT)
commit696e14d9776749985644e14ac23f04847f030539 (patch)
tree8af48510fc894bb0d2756ebe81fd05bb989a1492
parentb9970be9bcadc8f7c45f7603ad6eb1c75620608a (diff)
downloadCMake-696e14d9776749985644e14ac23f04847f030539.zip
CMake-696e14d9776749985644e14ac23f04847f030539.tar.gz
CMake-696e14d9776749985644e14ac23f04847f030539.tar.bz2
cmFileLockResult: Fix inclusion of windows.h when cross-compiling
In commit 64821d8a26 (cmFileLockResult: Remove expensive windows.h include, 2023-06-16, v3.28.0-rc1~446^2~13) we accidentally capitalized the name of the header. This matters when cross-compiling from a host with a case-sensitive filesystem. Fixes: #25474
-rw-r--r--Source/cmFileLockResult.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileLockResult.cxx b/Source/cmFileLockResult.cxx
index 632c0e9..cbe4fec 100644
--- a/Source/cmFileLockResult.cxx
+++ b/Source/cmFileLockResult.cxx
@@ -6,7 +6,7 @@
#include <cstring>
#ifdef _WIN32
-# include <Windows.h>
+# include <windows.h>
#endif
cmFileLockResult cmFileLockResult::MakeOk()