forked from Juniper/contrail-third-party
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tbb40_20111130oss_patch1.diff
31 lines (25 loc) · 1.27 KB
/
tbb40_20111130oss_patch1.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/third_party/tbb40_20111130oss/src/tbb/mac64-tbb-export.lst b/third_party/tbb40_20111130oss/src/tbb/mac64-tbb-export.lst
--- a/third_party/tbb40_20111130oss/src/tbb/mac64-tbb-export.lst
+++ b/third_party/tbb40_20111130oss/src/tbb/mac64-tbb-export.lst
@@ -105,7 +105,7 @@ __TBB_SYMBOL( _ZTSN3tbb18captured_except
__TBB_SYMBOL( _ZTVN3tbb18captured_exceptionE )
__TBB_SYMBOL( _ZTIN3tbb13tbb_exceptionE )
__TBB_SYMBOL( _ZTSN3tbb13tbb_exceptionE )
-__TBB_SYMBOL( _ZTVN3tbb13tbb_exceptionE )
+// __TBB_SYMBOL( _ZTVN3tbb13tbb_exceptionE ) macos linker issue
#endif /* __TBB_TASK_GROUP_CONTEXT */
// Symbols for exceptions thrown from TBB
diff --git a/third_party/tbb40_20111130oss/include/tbb/compat/condition_variable b/third_party/tbb40_20111130oss/include/tbb/compat/condition_variable
--- a/third_party/tbb40_20111130oss/include/tbb/compat/condition_variable
+++ b/third_party/tbb40_20111130oss/include/tbb/compat/condition_variable
@@ -435,6 +435,8 @@ __TBB_DEFINE_PROFILING_SET_NAME(interfac
} // namespace tbb
+#if defined(TBB_INJECT_INTO_STD_NAMESPACE)
+
#if TBB_IMPLEMENT_CPP0X
namespace std {
@@ -457,4 +459,6 @@ using tbb::interface5::no_timeout;
#endif /* TBB_IMPLEMENT_CPP0X */
+#endif /* TBB_INJECT_INTO_STD_NAMESPACE */
+
#endif /* __TBB_condition_variable_H */