summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-10-22 13:11:33 +0000
committerRob Richards <rrichards@php.net>2004-10-22 13:11:33 +0000
commitb20d2ba86cbdf6b1ea44efde1d61e1ce40d4b08b (patch)
tree1ef3bda4dc5015de8850be53b2b3987d09bf21af
parent1fc379a76cf2dc6292128c865187915f9aa4cd17 (diff)
downloadphp-git-b20d2ba86cbdf6b1ea44efde1d61e1ce40d4b08b.tar.gz
fix windows build
-rw-r--r--ext/standard/microtime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c
index 3e4debe433..4fabb45342 100644
--- a/ext/standard/microtime.c
+++ b/ext/standard/microtime.c
@@ -89,13 +89,12 @@ PHP_FUNCTION(microtime)
PHP_FUNCTION(gettimeofday)
{
zend_bool get_as_float = 0;
+ struct timeval tp;
+ struct timezone tz;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &get_as_float) == FAILURE) {
return;
}
-
- struct timeval tp;
- struct timezone tz;
memset(&tp, 0, sizeof(tp));
memset(&tz, 0, sizeof(tz));