summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCopier.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-15 16:13:59 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-15 16:13:59 (GMT)
commitf00763c954a9103adf60b510be1fc16a06fa560a (patch)
tree8e72d7257ff44e839878985babbaff7c41458db5 /Source/cmFileCopier.cxx
parentc352d16aafa8989b071cc10d757e4a344ac5cbbe (diff)
parent40e73c5ac4849fdbeb58850bf93de7f2c581f26e (diff)
downloadCMake-f00763c954a9103adf60b510be1fc16a06fa560a.zip
CMake-f00763c954a9103adf60b510be1fc16a06fa560a.tar.gz
CMake-f00763c954a9103adf60b510be1fc16a06fa560a.tar.bz2
Merge branch 'fix-ifdef-windows' into release-3.19
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 48fc286..237d234 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";