libcxx-armhf-ftbfs
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 17 Feb 2023 11:57:29 +0000 (11:57 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 17 Feb 2023 11:57:29 +0000 (11:57 +0000)
===================================================================

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxx-armhf-ftbfs.diff

libcxx/include/atomic

index bd49367a32467933eeb49fa351e20017b6c5eec9..161dc251b308b7cb2685358d603f1fbd4b712a5d 100644 (file)
@@ -2696,9 +2696,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}