1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Merge pull request #38757 from madmiraal/fix-oidn-mingw-build

Fix #include <windows.h> for case-senstive cross-compilation.
This commit is contained in:
Rémi Verschelde
2020-05-15 18:03:35 +02:00
committed by GitHub
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/thirdparty/oidn/common/platform.h b/thirdparty/oidn/common/platform.h
index 205ac8981d..9373b617b5 100644
--- a/thirdparty/oidn/common/platform.h
+++ b/thirdparty/oidn/common/platform.h
@@ -19,7 +19,7 @@
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
- #include <Windows.h>
+ #include <windows.h>
#elif defined(__APPLE__)
#include <sys/sysctl.h>
#endif

View File

@@ -19,7 +19,7 @@
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h>
#include <windows.h>
#elif defined(__APPLE__)
#include <sys/sysctl.h>
#endif