diff --git a/include/ankerl/unordered_dense.h b/include/ankerl/unordered_dense.h index d14c92e..13484a9 100644 --- a/include/ankerl/unordered_dense.h +++ b/include/ankerl/unordered_dense.h @@ -98,7 +98,7 @@ # include // for abort # endif -# if defined(__has_include) +# if defined(__has_include) && !defined(ANKERL_UNORDERED_DENSE_DISABLE_PMR) # if __has_include() # define ANKERL_UNORDERED_DENSE_PMR std::pmr // NOLINT(cppcoreguidelines-macro-usage) # include // for polymorphic_allocator