mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
This commit is contained in:
parent
115081c775
commit
7f48c7adf5
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ PHP_FUNCTION(getrusage)
|
|||
array_init(return_value);
|
||||
#define PHP_RUSAGE_PARA(a) \
|
||||
add_assoc_long(return_value, #a, usg.a)
|
||||
#ifndef _OSD_POSIX /* BS2000 has only a few fields in the rusage struct */
|
||||
#if !defined( _OSD_POSIX) && !defined(__BEOS__) /* BS2000 has only a few fields in the rusage struct */
|
||||
PHP_RUSAGE_PARA(ru_oublock);
|
||||
PHP_RUSAGE_PARA(ru_inblock);
|
||||
PHP_RUSAGE_PARA(ru_msgsnd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue