summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen van Egmond <svanegmond@php.net>2001-03-23 04:36:29 +0000
committerStephen van Egmond <svanegmond@php.net>2001-03-23 04:36:29 +0000
commit7f48c7adf57635f7c1b29e5d77c60a32569ebef8 (patch)
tree5566725ae0152428fa5d8b9a58913003c3e9c2ad
parent115081c7754dc762c1f84e1f4fbdd0bb3a88ced7 (diff)
downloadphp-git-7f48c7adf57635f7c1b29e5d77c60a32569ebef8.tar.gz
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
-rw-r--r--ext/standard/microtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c
index 6b5c247c21..442ae3d395 100644
--- a/ext/standard/microtime.c
+++ b/ext/standard/microtime.c
@@ -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);