mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Modern BSDs don't need union wait
We have pid_t wait3(int *status, int options, struct rusage *rusage); on FreeBSD and we don't need (union wait) handling. Another good candidate for one #ifdef from imake templates. We have already OPT_BSD_WAIT in ToolTalk's tt_options.h
This commit is contained in:
parent
a35975a334
commit
ce4004f86b
5 changed files with 7 additions and 7 deletions
|
|
@ -211,7 +211,7 @@ char **comment_list ;/* pointer to the list of comments */
|
|||
int cnt ;
|
||||
int comflg ;
|
||||
pid_t chld_pid = 0;
|
||||
#if defined( SVR4 ) || defined( SYSV )
|
||||
#if defined( SVR4 ) || defined( SYSV ) || defined(__FreeBSD__)
|
||||
int chld_stat ;
|
||||
#else
|
||||
union wait chld_stat ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue