mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 04:05:11 +01:00
glib/gthread-posix: Fix missing saved_errno variable in Android's g_futex_simple
This commit is contained in:
parent
1504c24777
commit
bfebf55d18
@ -78,6 +78,7 @@ struct _GRealThread
|
|||||||
#define g_futex_simple(uaddr, futex_op, ...) \
|
#define g_futex_simple(uaddr, futex_op, ...) \
|
||||||
G_STMT_START \
|
G_STMT_START \
|
||||||
{ \
|
{ \
|
||||||
|
int saved_errno = errno; \
|
||||||
int res = 0; \
|
int res = 0; \
|
||||||
if (__builtin_available (android 30, *)) \
|
if (__builtin_available (android 30, *)) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user