From: Sam Ruby Date: Mon, 29 Nov 1999 14:04:16 +0000 (+0000) Subject: Use thread-safe versions of localtime and gmtime on Win32 too X-Git-Tag: PRE_RETURN_REF_PATCH~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0383909477e0a1f62baa60bafb4a4a9207521402;p=php Use thread-safe versions of localtime and gmtime on Win32 too --- diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index e8dfa8c80b..a7f61648f4 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -50,7 +50,9 @@ #endif #if WIN32||WINNT -#include +# include +# define _PHP_H +# include "php_reentrancy.h" #else # if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE) extern time_t timezone;