diff options
Diffstat (limited to 'ext/standard/microtime.c')
-rw-r--r-- | ext/standard/microtime.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index 6fe9d18c3b..ef7600d36a 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -89,11 +89,11 @@ PHP_FUNCTION(gettimeofday) } /* }}} */ +#ifdef HAVE_GETRUSAGE /* {{{ proto array getrusage([int who]) Returns an array of usage statistics */ PHP_FUNCTION(getrusage) { -#ifdef HAVE_GETRUSAGE struct rusage usg; int ac = ARG_COUNT(ht); pval **pwho; @@ -133,10 +133,8 @@ PHP_FUNCTION(getrusage) PHP_RUSAGE_PARA(ru_stime.tv_usec); PHP_RUSAGE_PARA(ru_stime.tv_sec); #undef PHP_RUSAGE_PARA -#else - PHP_NOT_IN_THIS_BUILD(); -#endif /* HAVE_GETRUSAGE */ } +#endif /* HAVE_GETRUSAGE */ /* }}} */ |