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

This commit is contained in:
L. E. Segovia 2024-04-02 18:45:23 -03:00
parent 1504c24777
commit bfebf55d18

View File

@ -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, *)) \
{ \ { \