From: LLVM Packaging Team Date: Wed, 30 Nov 2022 15:15:42 +0000 (+0000) Subject: libcxx-armhf-ftbfs X-Git-Tag: archive/raspbian/1%16.0.6-15+rpi1~4^2^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1ae15cad2a3de6ace68043f4a2c7445bade64366;p=llvm-toolchain-16.git libcxx-armhf-ftbfs =================================================================== Gbp-Pq: Topic libcxx Gbp-Pq: Name libcxx-armhf-ftbfs.diff --- diff --git a/libcxx/include/atomic b/libcxx/include/atomic index 3a93b9b0a1..97bec3d656 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2659,9 +2659,13 @@ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned c #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}