[libcxx-commits] [PATCH] D146682: [libcxx] Fix build bustage with threads disabled
Michael Platings via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 23 10:31:15 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG101cfe18f7b8: [libcxx] Fix build bustage with threads disabled (authored by glandium, committed by michaelplatings).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146682/new/
https://reviews.llvm.org/D146682
Files:
libcxx/include/__condition_variable/condition_variable.h
Index: libcxx/include/__condition_variable/condition_variable.h
===================================================================
--- libcxx/include/__condition_variable/condition_variable.h
+++ libcxx/include/__condition_variable/condition_variable.h
@@ -29,10 +29,10 @@
_LIBCPP_PUSH_MACROS
#include <__undef_macros>
-#ifndef _LIBCPP_HAS_NO_THREADS
-
_LIBCPP_BEGIN_NAMESPACE_STD
+#ifndef _LIBCPP_HAS_NO_THREADS
+
// enum class cv_status
_LIBCPP_DECLARE_STRONG_ENUM(cv_status){no_timeout, timeout};
_LIBCPP_DECLARE_STRONG_ENUM_EPILOG(cv_status)
@@ -234,10 +234,10 @@
wait_for(__lk, __tp - _Clock::now());
}
-_LIBCPP_END_NAMESPACE_STD
-
#endif // _LIBCPP_HAS_NO_THREADS
+_LIBCPP_END_NAMESPACE_STD
+
_LIBCPP_POP_MACROS
#endif // _LIBCPP___CONDITION_VARIABLE_CONDITION_VARIABLE_H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146682.507800.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230323/06d52dc8/attachment.bin>
More information about the libcxx-commits
mailing list