[Openmp-commits] [openmp] [OpenMP] Fix: Add missing preprocessor guard for hwloc types on macOS (PR #156708)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 4 04:22:50 PDT 2025


================
@@ -1563,6 +1563,7 @@ static bool __kmp_is_hwloc_membind_supported(hwloc_membind_policy_t policy) {
   return false;
 #endif
 }
+#endif
----------------
jprotze wrote:

Looks wrong. The `#if` above was already there, so adding an extra `#endif` will definitely break something.

https://github.com/llvm/llvm-project/pull/156708


More information about the Openmp-commits mailing list