From: Anantha Kesari H Y Date: Fri, 11 Mar 2005 09:01:52 +0000 (+0000) Subject: In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG X-Git-Tag: php-5.0.4RC1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbd2655dff8808f0d2bc135a0e9262f944e209f8;p=php In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG --- diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 569f4b2873..1d641f23d2 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -398,7 +398,11 @@ PHP_FUNCTION(proc_get_status) } if (WIFSIGNALED(wstatus)) { signaled = 1; +#ifdef NETWARE + termsig = WIFTERMSIG(wstatus); +#else termsig = WTERMSIG(wstatus); +#endif } if (WIFSTOPPED(wstatus)) { stopped = 1;