Browse Source

Fix header case for Linux to Windows cross compilation using MingGW

ArseniyShestakov 10 năm trước cách đây
mục cha
commit
8b6b4e2e0b
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      lib/CConsoleHandler.cpp
  2. 3 3
      lib/VCMIDirs.cpp

+ 1 - 1
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 <Windows.h>
+	#include <windows.h>
 	#include <dbghelp.h>	
 #ifndef __MINGW32__
 	#pragma comment(lib, "dbghelp.lib")

+ 3 - 3
lib/VCMIDirs.cpp

@@ -34,9 +34,9 @@ void IVCMIDirs::init()
 	#endif    
 #endif // __MINGW32__
 
-#include <Windows.h>
-#include <Shlobj.h>
-#include <Shellapi.h>
+#include <windows.h>
+#include <shlobj.h>
+#include <shellapi.h>
 
 // Generates script file named _temp.bat in 'to' directory and runs it
 // Script will: