summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCopier.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-18 13:29:11 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-18 13:29:19 (GMT)
commit263f8c61190dbd889ca65a68d642d942848c4ea1 (patch)
tree2d75d8ec78b477e2d6f5d44ef9822e642241a0bc /Source/cmFileCopier.cxx
parente16eaa723b9a7e273f62794fd955ff5ef8bbd8bd (diff)
parent40e73c5ac4849fdbeb58850bf93de7f2c581f26e (diff)
downloadCMake-263f8c61190dbd889ca65a68d642d942848c4ea1.zip
CMake-263f8c61190dbd889ca65a68d642d942848c4ea1.tar.gz
CMake-263f8c61190dbd889ca65a68d642d942848c4ea1.tar.bz2
Merge topic 'fix-ifdef-windows' into release-3.22
40e73c5ac4 Source: Fix typo in _WIN32 preprocessor checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6631
Diffstat (limited to 'Source/cmFileCopier.cxx')
-rw-r--r--Source/cmFileCopier.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCopier.cxx b/Source/cmFileCopier.cxx
index 00254a0..63a4274 100644
--- a/Source/cmFileCopier.cxx
+++ b/Source/cmFileCopier.cxx
@@ -72,7 +72,7 @@ bool cmFileCopier::SetPermissions(const std::string& toFile,
mode_t permissions)
{
if (permissions) {
-#ifdef WIN32
+#ifdef _WIN32
if (Makefile->IsOn("CMAKE_CROSSCOMPILING")) {
// Store the mode in an NTFS alternate stream.
std::string mode_t_adt_filename = toFile + ":cmake_mode_t";