mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
Fix windows.h not found when cross compiling on Linux
The header provided by mingw-w64 on Linux is called windows.h.
This commit is contained in:
parent
46bae938a8
commit
f000f1b369
@ -33,7 +33,7 @@
|
|||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#if !defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if !defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
#define VK_USE_PLATFORM_WIN32_KHR
|
#define VK_USE_PLATFORM_WIN32_KHR
|
||||||
#endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR)
|
#endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
|
Loading…
Reference in New Issue
Block a user