1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

fix gettimeofday proto availability

This commit is contained in:
Anatol Belski
2016-10-13 13:08:16 +02:00
parent a9209588d5
commit 79f7d174d0

View File

@@ -29,7 +29,11 @@
#include "php_date.h"
#include "zend_interfaces.h"
#include "lib/timelib.h"
#ifndef PHP_WIN32
#include <time.h>
#else
#include "win32/time.h"
#endif
#ifdef PHP_WIN32
static __inline __int64 php_date_llabs( __int64 i ) { return i >= 0? i: -i; }