In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG

This commit is contained in:
Anantha Kesari H Y 2005-02-21 09:50:48 +00:00
parent bf427d4a0d
commit 459313c26d

View File

@ -403,7 +403,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;