chiark / gitweb /
Initial push
[termux-packages] / ndk_patches / sys-wait.h.patch
1 diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h ./usr/include/sys/wait.h
2 --- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/wait.h 2014-10-14 22:53:49.000000000 -0400
3 +++ ./usr/include/sys/wait.h    2015-05-15 18:28:58.428331748 -0400
4 @@ -44,6 +44,7 @@
5  #define WIFEXITED(s)    (WTERMSIG(s) == 0)
6  #define WIFSTOPPED(s)   (WTERMSIG(s) == 0x7f)
7  #define WIFSIGNALED(s)  (WTERMSIG((s)+1) >= 2)
8 +#define WIFCONTINUED(x) (WIFSTOPPED(x) && WSTOPSIG(x) == 0x13)
9
10  extern pid_t  wait(int *);
11  extern pid_t  waitpid(pid_t, int *, int);