From f000f1b36927aa25e1186b03bf2d33ba87b749a7 Mon Sep 17 00:00:00 2001 From: Attractadore <28895114+Attractadore@users.noreply.github.com> Date: Sun, 19 Jun 2022 20:54:03 +0300 Subject: [PATCH] Fix windows.h not found when cross compiling on Linux The header provided by mingw-w64 on Linux is called windows.h. --- src/VmaUsage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VmaUsage.h b/src/VmaUsage.h index 5bff938..0140ce4 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -33,7 +33,7 @@ #define WIN32_LEAN_AND_MEAN #endif -#include +#include #if !defined(VK_USE_PLATFORM_WIN32_KHR) #define VK_USE_PLATFORM_WIN32_KHR #endif // #if !defined(VK_USE_PLATFORM_WIN32_KHR)