Skip to content

Commit 54851f2

Browse files
committed
embree: Fix include order causing unwanted dllexport symbols
1 parent 97b8ad1 commit 54851f2

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

thirdparty/embree/common/tasking/taskschedulerinternal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#pragma once
55

6+
#include "../../include/embree4/rtcore.h"
67
#include "../sys/platform.h"
78
#include "../sys/alloc.h"
89
#include "../sys/barrier.h"
@@ -12,7 +13,6 @@
1213
#include "../sys/ref.h"
1314
#include "../sys/atomic.h"
1415
#include "../math/range.h"
15-
#include "../../include/embree4/rtcore.h"
1616

1717
#include <list>
1818

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
diff --git a/thirdparty/embree/common/tasking/taskschedulerinternal.h b/thirdparty/embree/common/tasking/taskschedulerinternal.h
2+
index e72d3b72ba..8e3befb739 100644
3+
--- a/thirdparty/embree/common/tasking/taskschedulerinternal.h
4+
+++ b/thirdparty/embree/common/tasking/taskschedulerinternal.h
5+
@@ -3,6 +3,7 @@
6+
7+
#pragma once
8+
9+
+#include "../../include/embree4/rtcore.h"
10+
#include "../sys/platform.h"
11+
#include "../sys/alloc.h"
12+
#include "../sys/barrier.h"
13+
@@ -12,7 +13,6 @@
14+
#include "../sys/ref.h"
15+
#include "../sys/atomic.h"
16+
#include "../math/range.h"
17+
-#include "../../include/embree4/rtcore.h"
18+
19+
#include <list>
20+

0 commit comments

Comments
 (0)