From d68d0914fc6ed41cadd363bd4330c39a7fb5b1f1 Mon Sep 17 00:00:00 2001 From: Dan Bailey Date: Wed, 6 May 2026 09:37:43 -0700 Subject: [PATCH] Switch from tbb/blocked_range.h to tbb/task_arena.h to pull in TBB version macro Signed-off-by: Dan Bailey diff --git a/openvdb/openvdb/thread/Threading.h b/openvdb/openvdb/thread/Threading.h index b339a85ecc..f1433341f9 100644 --- openvdb/openvdb/thread/Threading.h +++ openvdb/openvdb/thread/Threading.h @@ -14,14 +14,16 @@ #endif -/// @note tbb/blocked_range.h is the ONLY include that persists from TBB 2020 -/// to TBB 2021 that itself includes the TBB specific version header files. -/// In TBB 2020, the version header was called tbb/stddef.h. In 2021, it's -/// called tbb/version.h. We include tbb/blocked_range.h here to indirectly -/// access the version defines in a consistent way so that downstream -/// software doesn't need to provide compile time defines. #include #include +/// @note tbb/task_arena.h is the ONLY include that persists from TBB 2020 +/// to TBB 2021 to TBB 2023 that itself includes the TBB specific version +/// header files. +/// In TBB 2020, the version header was called tbb/stddef.h. In 2021+, it's +/// called tbb/version.h. We include tbb/task_arena.h here to indirectly +/// access the version defines in a consistent way so that downstream +/// software doesn't need to provide compile time defines. +#include #include namespace openvdb {