mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
This commit is contained in:
parent
bf427d4a0d
commit
459313c26d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user