mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
gbitlock: fix this to not unconditionally use futex emulation
Ryan accidentally committed some debugging code a long time ago, causing this file to always use futex emulation even when real futex support was available. I noticed this a while later and pointed it out to him, and assumed he was going to fix it, but I guess he assumed I was going to fix it, and then neither of us did... https://bugzilla.gnome.org/show_bug.cgi?id=699500
This commit is contained in:
parent
9d69c274e0
commit
13958ee429
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#include "gthreadprivate.h"
|
#include "gthreadprivate.h"
|
||||||
|
|
||||||
#undef HAVE_FUTEX
|
|
||||||
#ifdef G_BIT_LOCK_FORCE_FUTEX_EMULATION
|
#ifdef G_BIT_LOCK_FORCE_FUTEX_EMULATION
|
||||||
|
#undef HAVE_FUTEX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_FUTEX
|
#ifndef HAVE_FUTEX
|
||||||
|
Loading…
Reference in New Issue
Block a user