From 8b6b4e2e0b81169444a1879b3ac505ca346925f3 Mon Sep 17 00:00:00 2001 From: ArseniyShestakov Date: Tue, 3 Nov 2015 14:40:36 +0300 Subject: [PATCH] Fix header case for Linux to Windows cross compilation using MingGW --- lib/CConsoleHandler.cpp | 2 +- lib/VCMIDirs.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CConsoleHandler.cpp b/lib/CConsoleHandler.cpp index 649df26aa..20a992f68 100644 --- a/lib/CConsoleHandler.cpp +++ b/lib/CConsoleHandler.cpp @@ -27,7 +27,7 @@ DLL_LINKAGE CConsoleHandler * console = nullptr; #define CONSOLE_GRAY "\x1b[1;30m" #define CONSOLE_TEAL "\x1b[1;36m" #else - #include + #include #include #ifndef __MINGW32__ #pragma comment(lib, "dbghelp.lib") diff --git a/lib/VCMIDirs.cpp b/lib/VCMIDirs.cpp index 679b68fd0..7c2110afa 100644 --- a/lib/VCMIDirs.cpp +++ b/lib/VCMIDirs.cpp @@ -34,9 +34,9 @@ void IVCMIDirs::init() #endif #endif // __MINGW32__ -#include -#include -#include +#include +#include +#include // Generates script file named _temp.bat in 'to' directory and runs it // Script will: