X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/49ca09e5e57406aca61e838e6d6757123b9d2fcb..80eb67dd0a2858dc3e0b41ae4e926589b69c639a:/ndk_patches/sys-wait.h.patch diff --git a/ndk_patches/sys-wait.h.patch b/ndk_patches/sys-wait.h.patch index e7418c99..e19c19fe 100644 --- a/ndk_patches/sys-wait.h.patch +++ b/ndk_patches/sys-wait.h.patch @@ -1,7 +1,12 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h ./usr/include/sys/wait.h --- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h 2014-10-14 22:53:49.000000000 -0400 -+++ ./usr/include/sys/wait.h 2015-07-11 16:55:21.567042577 -0400 -@@ -48,6 +48,8 @@ ++++ ./usr/include/sys/wait.h 2015-08-06 18:52:27.784988266 -0400 +@@ -44,10 +44,13 @@ + #define WIFEXITED(s) (WTERMSIG(s) == 0) + #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) + #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) ++#define WIFCONTINUED(s) ((s) == 0xffff) + extern pid_t wait(int *); extern pid_t waitpid(pid_t, int *, int); extern pid_t wait4(pid_t, int *, int, struct rusage *);