wait: move fallback definitions of wait options to xlat/
* wait.c: Move definitions of __W* flags ... * xlat/wait4_options.in: ... here.
This commit is contained in:
parent
b60b2a5aa3
commit
f6026b6e65
10
wait.c
10
wait.c
@ -2,16 +2,6 @@
|
||||
|
||||
#include <sys/wait.h>
|
||||
|
||||
#ifndef __WNOTHREAD
|
||||
# define __WNOTHREAD 0x20000000
|
||||
#endif
|
||||
#ifndef __WALL
|
||||
# define __WALL 0x40000000
|
||||
#endif
|
||||
#ifndef __WCLONE
|
||||
# define __WCLONE 0x80000000
|
||||
#endif
|
||||
|
||||
#include "xlat/wait4_options.h"
|
||||
|
||||
#if !defined WCOREFLAG && defined WCOREFLG
|
||||
|
@ -7,6 +7,6 @@ WTRAPPED
|
||||
WSTOPPED
|
||||
WCONTINUED
|
||||
WNOWAIT
|
||||
__WCLONE
|
||||
__WALL
|
||||
__WNOTHREAD
|
||||
__WCLONE 0x80000000
|
||||
__WALL 0x40000000
|
||||
__WNOTHREAD 0x20000000
|
||||
|
Loading…
Reference in New Issue
Block a user