]> granicus.if.org Git - php/commitdiff
fix _timezone usage for vc14
authorAnatol Belski <ab@php.net>
Sat, 9 May 2015 20:57:56 +0000 (22:57 +0200)
committerAnatol Belski <ab@php.net>
Sun, 10 May 2015 16:17:24 +0000 (18:17 +0200)
ext/openssl/openssl.c

index 1697d80bb95ec96df9b4b1801e5f8331bbe125b6..1ae741136d2fcbcaf6daa54f302141dcce5ed173 100644 (file)
@@ -59,7 +59,7 @@
 /* Common */
 #include <time.h>
 
-#ifdef NETWARE
+#if defined(NETWARE) || (defined(PHP_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1900)
 #define timezone _timezone     /* timezone is called _timezone in LibC */
 #endif