From e18e17aa470ef804eb305c27e836cd54c5d7d82e Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Mon, 3 Jul 2023 18:35:07 -0700 Subject: [PATCH] [libc++][NFC] Remove a redundant check for building the library --- libcxx/include/shared_mutex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/shared_mutex b/libcxx/include/shared_mutex index 59d7761..26415c2 100644 --- a/libcxx/include/shared_mutex +++ b/libcxx/include/shared_mutex @@ -142,7 +142,7 @@ _LIBCPP_PUSH_MACROS #include <__undef_macros> -#if _LIBCPP_STD_VER >= 14 || defined(_LIBCPP_BUILDING_LIBRARY) +#if _LIBCPP_STD_VER >= 14 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) # pragma GCC system_header -- 2.7.4