aboutsummaryrefslogtreecommitdiff
path: root/ports/tbb/fix-static-build.patch
blob: 18f3e2b493f95f864037561a11070d6b63842614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/tbb/cilk-tbb-interop.h b/src/tbb/cilk-tbb-interop.h
index 295734b..f35531e 100644
--- a/src/tbb/cilk-tbb-interop.h
+++ b/src/tbb/cilk-tbb-interop.h
@@ -29,6 +29,8 @@
 #else
 #ifdef IN_CILK_RUNTIME
 #define CILK_EXPORT __declspec(dllexport)
+#elif defined(IN_CILK_STATIC)
+#define CILK_EXPORT /* nothing */
 #else
 #define CILK_EXPORT __declspec(dllimport)
 #endif  // IN_CILK_RUNTIME