mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 10:50:44 +00:00
Fix #include <windows.h> for case-senstive cross-compilation.
This commit is contained in:
parent
963a27f8a2
commit
0aac6a2853
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)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user