1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00

fix windows build

This commit is contained in:
Rob Richards
2004-10-22 13:11:33 +00:00
parent 1fc379a76c
commit b20d2ba86c
+2 -3
View File
@@ -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));