From ae3ce0898283bd9c8df73ceebef3b5ac85d1c619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 5 Aug 2019 10:53:50 +0200 Subject: VulkanLoader: Make Windows includes lowercase for MinGW MinGW-w64 ships all Windows SDK headers as lowercase, which prevents cross-compiling this code from Linux. Windows filesystems are case insensitive so it should work fine with lowercase includes. PR'ed upstream: https://github.com/KhronosGroup/Vulkan-Loader/pull/212 --- thirdparty/vulkan/loader/loader.c | 4 ++-- thirdparty/vulkan/loader/vk_loader_platform.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'thirdparty/vulkan') diff --git a/thirdparty/vulkan/loader/loader.c b/thirdparty/vulkan/loader/loader.c index f2db7924a2..5e4de5e749 100755 --- a/thirdparty/vulkan/loader/loader.c +++ b/thirdparty/vulkan/loader/loader.c @@ -60,9 +60,9 @@ #include "murmurhash.h" #if defined(_WIN32) -#include +#include #include -#include +#include #endif // This is a CMake generated file with #defines for any functions/includes diff --git a/thirdparty/vulkan/loader/vk_loader_platform.h b/thirdparty/vulkan/loader/vk_loader_platform.h index dd6b3fde67..e405c21088 100755 --- a/thirdparty/vulkan/loader/vk_loader_platform.h +++ b/thirdparty/vulkan/loader/vk_loader_platform.h @@ -25,7 +25,7 @@ #if defined(_WIN32) // WinSock2.h must be included *BEFORE* windows.h -#include +#include #endif // _WIN32 #include "vulkan/vk_platform.h" -- cgit v1.2.3