From dc3a25f1c191d5a6f4e861c023074ee244bd02af Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sat, 4 Jun 2022 14:30:38 +0100 Subject: [PATCH] libcxx-armhf-ftbfs =================================================================== Gbp-Pq: Name libcxx-armhf-ftbfs.diff --- libcxx/include/atomic | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libcxx/include/atomic b/libcxx/include/atomic index 0f6aee83ce..7ba9de08d5 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2822,10 +2822,15 @@ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, char>::typ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned char>::type __libcpp_unsigned_lock_free; #else // No signed/unsigned lock-free types +#define NO_LOCK_FREE #endif +#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 + +#undef NO_LOCK_FREE #define ATOMIC_FLAG_INIT {false} #define ATOMIC_VAR_INIT(__v) {__v} -- 2.30.2