From 0aac6a2853452964fdda24c37b6f6a419f1cdbdc Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Fri, 15 May 2020 15:36:44 +0100 Subject: Fix #include for case-senstive cross-compilation. --- thirdparty/oidn/0001-window.h-case-sensitive.patch | 13 +++++++++++++ thirdparty/oidn/common/platform.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 thirdparty/oidn/0001-window.h-case-sensitive.patch (limited to 'thirdparty/oidn') 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 ++ #include + #elif defined(__APPLE__) + #include + #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 + #include #elif defined(__APPLE__) #include #endif -- cgit v1.2.3