[libcxx-commits] [libcxx] e18e17a - [libc++][NFC] Remove a redundant check for building the library

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 3 18:35:51 PDT 2023


Author: Nikolas Klauser
Date: 2023-07-03T18:35:37-07:00
New Revision: e18e17aa470ef804eb305c27e836cd54c5d7d82e

URL: https://github.com/llvm/llvm-project/commit/e18e17aa470ef804eb305c27e836cd54c5d7d82e
DIFF: https://github.com/llvm/llvm-project/commit/e18e17aa470ef804eb305c27e836cd54c5d7d82e.diff

LOG: [libc++][NFC] Remove a redundant check for building the library

Added: 
    

Modified: 
    libcxx/include/shared_mutex

Removed: 
    


################################################################################
diff  --git a/libcxx/include/shared_mutex b/libcxx/include/shared_mutex
index 59d7761fd1bd2b..26415c273007a5 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


        


More information about the libcxx-commits mailing list