diff options
author | Alvin Wong <alvinhochun@gmail.com> | 2024-07-12 17:52:00 +0800 |
---|---|---|
committer | Alvin Wong <alvinhochun@gmail.com> | 2024-07-12 17:57:02 +0800 |
commit | 54851f2333f86a703f718875428415c1f29194d4 (patch) | |
tree | 0ba37f66c7d8087c711b9eb0da8ab0ee38f8a0d6 /thirdparty | |
parent | 97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b (diff) | |
download | redot-engine-54851f2333f86a703f718875428415c1f29194d4.tar.gz |
embree: Fix include order causing unwanted dllexport symbols
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/embree/common/tasking/taskschedulerinternal.h | 2 | ||||
-rw-r--r-- | thirdparty/embree/patches/include-order-dllexport-fix.patch | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/thirdparty/embree/common/tasking/taskschedulerinternal.h b/thirdparty/embree/common/tasking/taskschedulerinternal.h index e72d3b72ba..8e3befb739 100644 --- a/thirdparty/embree/common/tasking/taskschedulerinternal.h +++ b/thirdparty/embree/common/tasking/taskschedulerinternal.h @@ -3,6 +3,7 @@ #pragma once +#include "../../include/embree4/rtcore.h" #include "../sys/platform.h" #include "../sys/alloc.h" #include "../sys/barrier.h" @@ -12,7 +13,6 @@ #include "../sys/ref.h" #include "../sys/atomic.h" #include "../math/range.h" -#include "../../include/embree4/rtcore.h" #include <list> diff --git a/thirdparty/embree/patches/include-order-dllexport-fix.patch b/thirdparty/embree/patches/include-order-dllexport-fix.patch new file mode 100644 index 0000000000..ece57a8daf --- /dev/null +++ b/thirdparty/embree/patches/include-order-dllexport-fix.patch @@ -0,0 +1,20 @@ +diff --git a/thirdparty/embree/common/tasking/taskschedulerinternal.h b/thirdparty/embree/common/tasking/taskschedulerinternal.h +index e72d3b72ba..8e3befb739 100644 +--- a/thirdparty/embree/common/tasking/taskschedulerinternal.h ++++ b/thirdparty/embree/common/tasking/taskschedulerinternal.h +@@ -3,6 +3,7 @@ + + #pragma once + ++#include "../../include/embree4/rtcore.h" + #include "../sys/platform.h" + #include "../sys/alloc.h" + #include "../sys/barrier.h" +@@ -12,7 +13,6 @@ + #include "../sys/ref.h" + #include "../sys/atomic.h" + #include "../math/range.h" +-#include "../../include/embree4/rtcore.h" + + #include <list> + |