From 553ce263fac538d6391064b98101263dcab91cf6 Mon Sep 17 00:00:00 2001 From: Braden Ganetsky Date: Sun, 24 Mar 2024 11:03:52 -0500 Subject: [PATCH] Fix pmr tests on macos-13 --- test/unordered/pmr_allocator_tests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unordered/pmr_allocator_tests.cpp b/test/unordered/pmr_allocator_tests.cpp index e458d350..44e1ca06 100644 --- a/test/unordered/pmr_allocator_tests.cpp +++ b/test/unordered/pmr_allocator_tests.cpp @@ -15,6 +15,12 @@ BOOST_PRAGMA_MESSAGE( "Test skipped because C++17 header is not available.") +#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && \ + __MAC_OS_X_VERSION_MIN_REQUIRED < 140000 + +BOOST_PRAGMA_MESSAGE( + "Test skipped because __MAC_OS_X_VERSION_MIN_REQUIRED < 140000"); + #else namespace pmr_allocator_tests {