Skip to content

Commit 638be0a

Browse files
committed
Haiku got fewer fields in rusage.
1 parent cfdd822 commit 638be0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/microtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ PHP_FUNCTION(getrusage)
136136
#ifdef PHP_WIN32 /* Windows only implements a limited amount of fields from the rusage struct */
137137
PHP_RUSAGE_PARA(ru_majflt);
138138
PHP_RUSAGE_PARA(ru_maxrss);
139-
#elif !defined( _OSD_POSIX) && !defined(__BEOS__) /* BS2000 has only a few fields in the rusage struct*/
139+
#elif !defined( _OSD_POSIX) && !defined(__BEOS__) && !defined(__HAIKU__) /* BS2000 has only a few fields in the rusage struct*/
140140
PHP_RUSAGE_PARA(ru_oublock);
141141
PHP_RUSAGE_PARA(ru_inblock);
142142
PHP_RUSAGE_PARA(ru_msgsnd);

0 commit comments

Comments
 (0)