PHPC-285: VC14 needs timezone defined for SSL function

This commit is contained in:
Jeremy Mikola
2015-12-21 20:00:43 -05:00
parent 321c577f98
commit cd9cd3d5ba

View File

@@ -30,6 +30,10 @@
/* LCOV_EXCL_START */
#include "php-ssl.h"
#if defined(NETWARE) || (defined(PHP_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1900)
#define timezone _timezone /* timezone is called _timezone in LibC */
#endif
int php_mongo_matches_wildcard_name(const char *subjectname, const char *certname) /* {{{ */
{
char *wildcard = NULL;