summarylogtreecommitdiffstats
path: root/pstl.patch
blob: 60be2637337f0f32b2142e87a458e93c03166d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cpp/open3d/utility/ParallelScan.h b/cpp/open3d/utility/ParallelScan.h
index a98015053..209328a5d 100644
--- a/cpp/open3d/utility/ParallelScan.h
+++ b/cpp/open3d/utility/ParallelScan.h
@@ -13,6 +13,8 @@
 // clang-format off
 #if TBB_INTERFACE_VERSION >= 10000
     #ifdef OPEN3D_USE_ONEAPI_PACKAGES
+#define _PSTL_UDR_PRESENT 0
+#define _PSTL_UDS_PRESENT 0
         #include <oneapi/dpl/execution>
         #include <oneapi/dpl/numeric>
     #else