Selaa lähdekoodia

cmFileCommand: Fix build on mingw-w64

Include header needed for `CP_ACP`.
Aleksey Chernov 8 vuotta sitten
vanhempi
sitoutus
9557b403f5
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      Source/cmFileCommand.cxx

+ 4 - 0
Source/cmFileCommand.cxx

@@ -42,6 +42,10 @@
 #include "cmFileLockResult.h"
 #endif
 
+#if defined(_WIN32)
+#include <windows.h>
+#endif
+
 class cmSystemToolsFileTime;
 
 // Table of permissions flags.