mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
Revert "gatomic: Temporarily disable C11-style atomics on FreeBSD"
This reverts commit fd3ed5e31b
.
C11-style atomics have been fixed (on FreeBSD and other platforms) in
the previous commit, “gatomic: Check argument width in
g_atomic_pointer_compare_and_exchange()”.
See !1229 and #1940.
This commit is contained in:
parent
75cd86f00e
commit
21fce30e9a
@ -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 ({ \
|
||||
|
Loading…
Reference in New Issue
Block a user