You've already forked godot
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:
13
thirdparty/oidn/0001-window.h-case-sensitive.patch
vendored
Normal file
13
thirdparty/oidn/0001-window.h-case-sensitive.patch
vendored
Normal 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
|
||||||
2
thirdparty/oidn/common/platform.h
vendored
2
thirdparty/oidn/common/platform.h
vendored
@@ -19,7 +19,7 @@
|
|||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user