[glib/wip/lantw/gatomic-freebsd: 1/2] Revert "gatomic: Temporarily disable C11-style atomics on FreeBSD"



commit 09fefdecf452616a68bc9998fe69112b0049c40c
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Nov 18 00:53:10 2019 +0800

    Revert "gatomic: Temporarily disable C11-style atomics on FreeBSD"
    
    This reverts commit fd3ed5e31bc0d3d6a0a34d6482bb2ae10f186c06.

 glib/gatomic.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/glib/gatomic.h b/glib/gatomic.h
index 646a30df4..092589454 100644
--- a/glib/gatomic.h
+++ b/glib/gatomic.h
@@ -85,9 +85,7 @@ G_END_DECLS
 #if defined(G_ATOMIC_LOCK_FREE) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
 
 /* We prefer the new C11-style atomic extension of GCC if available */
-/* FIXME: Temporarily disabled on FreeBSD due to CI failures:
- * https://gitlab.gnome.org/GNOME/glib/issues/1940 */
-#if defined(__ATOMIC_SEQ_CST) && !defined(__FreeBSD__)
+#if defined(__ATOMIC_SEQ_CST)
 
 #define g_atomic_int_get(atomic) \
   (G_GNUC_EXTENSION ({                                                       \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]