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:
Attractadore 2022-06-19 20:54:03 +03:00 committed by GitHub
parent 46bae938a8
commit f000f1b369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <Windows.h>
#include <windows.h>
#if !defined(VK_USE_PLATFORM_WIN32_KHR)
#define VK_USE_PLATFORM_WIN32_KHR
#endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR)