summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-15 16:14:38 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-15 16:14:38 (GMT)
commitad76bedabbfe856bf2f9594169fbdd8dd1866956 (patch)
tree5c71105ef6c93b978bcdfbf1d63f3cafd5f32740 /Source/CPack
parent6a8531a60a5ea7c78e710869a596124288729269 (diff)
parent40e73c5ac4849fdbeb58850bf93de7f2c581f26e (diff)
downloadCMake-ad76bedabbfe856bf2f9594169fbdd8dd1866956.zip
CMake-ad76bedabbfe856bf2f9594169fbdd8dd1866956.tar.gz
CMake-ad76bedabbfe856bf2f9594169fbdd8dd1866956.tar.bz2
Merge branch 'fix-ifdef-windows' into release-3.20
Merge-request: !6631
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index e7bcfac..b9439a5 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -232,7 +232,7 @@ bool DebGenerator::generateDataTar() const
cmCPackLogger(cmCPackLog::LOG_DEBUG,
"RELATIVEDIR: \"" << relativeDir << "\"" << std::endl);
-#ifdef WIN32
+#ifdef _WIN32
std::string mode_t_adt_filename = file + ":cmake_mode_t";
cmsys::ifstream permissionStream(mode_t_adt_filename.c_str());