summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-09 22:57:56 +0200
committerAnatol Belski <ab@php.net>2015-05-10 18:17:24 +0200
commitc93a3606616aff45560ea4e98e78a3697c783f91 (patch)
tree736f5a820ef8585fe542c5a9843e2d50da0fc6f9
parentcf7e5357a46afe1dca978f4887bbd83a7507ce69 (diff)
downloadphp-git-c93a3606616aff45560ea4e98e78a3697c783f91.tar.gz
fix _timezone usage for vc14
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 1697d80bb9..1ae741136d 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -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