Merge branch 'fix-missing-saved-errno-for-android-30' into 'main'

glib/gthread-posix: Fix missing saved_errno variable in Android's g_futex_simple

See merge request GNOME/glib!3994
This commit is contained in:
Philip Withnall 2024-04-02 22:37:09 +00:00
commit 3ac632b406

View File

@ -78,6 +78,7 @@ struct _GRealThread
#define g_futex_simple(uaddr, futex_op, ...) \
G_STMT_START \
{ \
int saved_errno = errno; \
int res = 0; \
if (__builtin_available (android 30, *)) \
{ \