[libcxx-commits] [libcxx] [libc++] Make locks available with _LIBCPP_HAS_NO_THREADS (PR #98717)

Petr Hosek via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 13 15:36:14 PDT 2024


================
@@ -419,8 +419,9 @@ inline _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&...
 }
 
 #  endif // _LIBCPP_CXX03_LANG
+#endif   // !_LIBCPP_HAS_NO_THREADS
----------------
petrhosek wrote:

I just moved the `#endif   // !_LIBCPP_HAS_NO_THREADS` from line 495 to line 422.

https://github.com/llvm/llvm-project/pull/98717


More information about the libcxx-commits mailing list