diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-05-15 15:36:44 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-05-15 15:36:44 +0100 |
commit | 0aac6a2853452964fdda24c37b6f6a419f1cdbdc (patch) | |
tree | cb4b59cf94cb0446611a7c81e1db590632358c92 /thirdparty/oidn | |
parent | 963a27f8a2a2d05bd6ed9a3b3673702622179821 (diff) |
Fix #include <windows.h> for case-senstive cross-compilation.
Diffstat (limited to 'thirdparty/oidn')
-rw-r--r-- | thirdparty/oidn/0001-window.h-case-sensitive.patch | 13 | ||||
-rw-r--r-- | thirdparty/oidn/common/platform.h | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/thirdparty/oidn/0001-window.h-case-sensitive.patch b/thirdparty/oidn/0001-window.h-case-sensitive.patch new file mode 100644 index 0000000000..7b9c8e96c1 --- /dev/null +++ b/thirdparty/oidn/0001-window.h-case-sensitive.patch @@ -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 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 |