Fix #include <windows.h> for case-senstive cross-compilation.
This commit is contained in:
parent
963a27f8a2
commit
0aac6a2853
|
@ -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
|
|
@ -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