Merge pull request #94256 from alvinhochun/embree-include-order-dllexport-fix
embree: Fix include order causing unwanted dllexport symbols
This commit is contained in:
commit
3c7eb6a4a9
2 changed files with 21 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
20
thirdparty/embree/patches/include-order-dllexport-fix.patch
vendored
Normal file
20
thirdparty/embree/patches/include-order-dllexport-fix.patch
vendored
Normal file
|
@ -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>
|
||||
|
Loading…
Reference in a new issue