From a4d8016e89db981fd54b8f07ce254ffd4e4c372a Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Mon, 11 Sep 2023 14:40:42 +0100 Subject: [PATCH] libcxx-armhf-ftbfs =================================================================== Gbp-Pq: Topic libcxx Gbp-Pq: Name libcxx-armhf-ftbfs.diff --- libcxx/include/atomic | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcxx/include/atomic b/libcxx/include/atomic index d0d682da62..d5742bbe3f 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2649,9 +2649,13 @@ typedef __conditional_t<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsign #endif #if !defined(_LIBCPP_NO_LOCK_FREE_TYPES) +#ifndef NO_LOCK_FREE typedef atomic<__libcpp_signed_lock_free> atomic_signed_lock_free; typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free; #endif +#endif + +#undef NO_LOCK_FREE #define ATOMIC_FLAG_INIT {false} #define ATOMIC_VAR_INIT(__v) {__v} -- 2.30.2