summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-15 14:26:55 -0400
committerBrad King <brad.king@kitware.com>2017-05-15 14:26:55 -0400
commit4fd61a60f12ad68622282cca3bd6e5ba9832d895 (patch)
treed51890e5930d0eb5041894d4e6c7959a77b25cc6
parent7ab585dbc298307ea956ae8e5ee69097ab045386 (diff)
parent9557b403f521d4f537bbedb9ba00836fb7ebb70c (diff)
downloadcmake-4fd61a60f12ad68622282cca3bd6e5ba9832d895.tar.gz
Merge branch 'mingw-w64-compile' into release
-rw-r--r--Source/cmFileCommand.cxx4
-rwxr-xr-xbootstrap1
2 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 91cecb359f..dc97e37e36 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -42,6 +42,10 @@
#include "cmFileLockResult.h"
#endif
+#if defined(_WIN32)
+#include <windows.h>
+#endif
+
class cmSystemToolsFileTime;
// Table of permissions flags.
diff --git a/bootstrap b/bootstrap
index 8063edb19b..b1528cb94d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1419,6 +1419,7 @@ fi
cmake_c_flags_String="-DKWSYS_STRING_C"
if ${cmake_system_mingw}; then
cmake_c_flags_EncodingC="-DKWSYS_ENCODING_DEFAULT_CODEPAGE=CP_ACP"
+ cmake_cxx_flags_EncodingCXX="${cmake_c_flags_EncodingC}"
cmake_cxx_flags_cmProcessOutput="${cmake_c_flags_EncodingC}"
fi
cmake_cxx_flags_SystemTools="