diff options
author | Sam Ruby <rubys@php.net> | 1999-11-29 14:04:16 +0000 |
---|---|---|
committer | Sam Ruby <rubys@php.net> | 1999-11-29 14:04:16 +0000 |
commit | 0383909477e0a1f62baa60bafb4a4a9207521402 (patch) | |
tree | b847e30500cddb3d32172057de2f8724e16cf36f /ext/standard/parsedate.y | |
parent | 6c6c0a630c48190df5fa47567699760054748f9a (diff) | |
download | php-git-0383909477e0a1f62baa60bafb4a4a9207521402.tar.gz |
Use thread-safe versions of localtime and gmtime on Win32 too
Diffstat (limited to 'ext/standard/parsedate.y')
-rw-r--r-- | ext/standard/parsedate.y | 4 |
1 files changed, 3 insertions, 1 deletions
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 <time.h> +# include <time.h> +# define _PHP_H +# include "php_reentrancy.h" #else # if !defined(HAVE_TM_ZONE) && !defined(_TIMEZONE) extern time_t timezone; |