diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
commit | c03328857394bef36ffa9678d33079ad96e4a4e4 (patch) | |
tree | c0fb250db3b1bb996fc305bf56c2b74eb6d00935 /ext/standard/microtime.c | |
parent | 158d34c9a57816326e141e88e1409d9f377dc2ea (diff) | |
download | php-git-c03328857394bef36ffa9678d33079ad96e4a4e4.tar.gz |
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
Diffstat (limited to 'ext/standard/microtime.c')
-rw-r--r-- | ext/standard/microtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index e9e6b2dcf0..b8e527d2a1 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -103,7 +103,7 @@ PHP_FUNCTION(getrusage) if(ac == 1 && zend_get_parameters_ex(ac, &pwho) != FAILURE) { convert_to_long_ex(pwho); - if((*pwho)->value.lval == 1) + if(Z_LVAL_PP(pwho) == 1) who = RUSAGE_CHILDREN; } |