summaryrefslogtreecommitdiffstats
path: root/thirdparty
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-01 00:06:31 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-01 00:06:31 +0200
commit3c7eb6a4a9db84a79f2840cfa5dce1790c90fd45 (patch)
treefcabaf212d6811b1927fc706d2230291a9e03ca5 /thirdparty
parent2add44c0dcc66ffa9b5d4d92d7aa8579ad49f85d (diff)
parent54851f2333f86a703f718875428415c1f29194d4 (diff)
downloadredot-engine-3c7eb6a4a9db84a79f2840cfa5dce1790c90fd45.tar.gz
Merge pull request #94256 from alvinhochun/embree-include-order-dllexport-fix
embree: Fix include order causing unwanted dllexport symbols
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/embree/common/tasking/taskschedulerinternal.h2
-rw-r--r--thirdparty/embree/patches/include-order-dllexport-fix.patch20
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>
+