libcxx-armhf-ftbfs
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 16 Dec 2021 16:49:22 +0000 (16:49 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 16 Dec 2021 16:49:22 +0000 (16:49 +0000)
===================================================================

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

libcxx/include/atomic

index 0fc799a243190a56bacc0539f635304e66e3a46b..19aede054222299e3e15f8c0badd016c4b64e9ac 100644 (file)
@@ -2791,10 +2791,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}