com php-src: fix gettimeofday proto availability: ext/date/php _date.c

From: Date: Thu, 13 Oct 2016 11:08:16 +0000
Subject: com php-src: fix gettimeofday proto availability: ext/date/php _date.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95020@lists.php.net to get a copy of this message
Commit: 79f7d174d07dee4dde1f8eddaba6c741b26edeb3 Author: Anatol Belski <ab@php.net> Thu, 13 Oct 2016 13:08:16 +0200 Parents: a9209588d5f8225fb608695d44e7eb7be858997d Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=79f7d174d07dee4dde1f8eddaba6c741b26edeb3 Log: fix gettimeofday proto availability Changed paths: M ext/date/php_date.c Diff: diff --git a/ext/date/php_date.c b/ext/date/php_date.c index aed0dc9..67805c1 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -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; }

« previous php.cvs (#95020) next »