mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
Merge branch 'musl' into 'main'
gmain: define non-posix symbols Closes #2692 See merge request GNOME/glib!2816
This commit is contained in:
commit
42172b651d
@ -73,6 +73,12 @@
|
|||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <linux/wait.h> /* P_PIDFD */
|
#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 */
|
#endif /* HAVE_PIDFD */
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
Loading…
Reference in New Issue
Block a user