Fix #include <windows.h> for case-senstive cross-compilation.

This commit is contained in:
Marcel Admiraal 2020-05-15 15:36:44 +01:00
parent 963a27f8a2
commit 0aac6a2853
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