Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Richards committed Oct 22, 2004
1 parent 1fc379a commit b20d2ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ext/standard/microtime.c
Expand Up @@ -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));
Expand Down

0 comments on commit b20d2ba

Please sign in to comment.