Merge branch 'musl' into 'main'

gmain: define non-posix symbols

Closes #2692

See merge request GNOME/glib!2816
This commit is contained in:
Philip Withnall 2022-07-13 09:33:22 +00:00
commit 42172b651d

View File

@ -73,6 +73,12 @@
#include <sys/syscall.h>
#include <sys/wait.h>
#include <linux/wait.h> /* P_PIDFD */
#ifndef W_EXITCODE
#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
#endif
#ifndef W_STOPCODE
#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
#endif
#endif /* HAVE_PIDFD */
#ifdef G_OS_WIN32