mirror of
https://github.com/godotengine/godot.git
synced 2025-01-08 19:17:33 +00:00
Update file_access_windows.cpp for mingw cross-compile
Cross compiling on linux failed on this file. Changing case of the windows.h and shlwapi.h allows mingw to find these headers but setting WINVER 0x0500 is needed for the compiler to find ReplaceFileW
This commit is contained in:
parent
51b8102f14
commit
1200689245
@ -28,8 +28,10 @@
|
||||
/*************************************************************************/
|
||||
#ifdef WINDOWS_ENABLED
|
||||
|
||||
#include <Windows.h>
|
||||
#include "Shlwapi.h"
|
||||
#define WINVER 0x0500
|
||||
|
||||
#include <windows.h>
|
||||
#include "shlwapi.h"
|
||||
#include "file_access_windows.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user