cvs: /php4/ext/standard parsedate.y
| From: | Sam Ruby | Date: | Mon, 29 Nov 1999 14:04:48 +0000 |
| Subject: | cvs: /php4/ext/standard parsedate.y | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7040@lists.php.net to get a copy of this message | ||
rubys Mon Nov 29 09:04:48 1999 EDT
Modified files:
/php4/ext/standard parsedate.y
Log:
Use thread-safe versions of localtime and gmtime on Win32 too
Index: php4/ext/standard/parsedate.y
diff -u php4/ext/standard/parsedate.y:1.5 php4/ext/standard/parsedate.y:1.6
--- php4/ext/standard/parsedate.y:1.5 Sat Nov 27 16:18:01 1999
+++ php4/ext/standard/parsedate.y Mon Nov 29 09:04:16 1999
@@ -1,5 +1,5 @@
%{
-/* $Revision: 1.5 $
+/* $Revision: 1.6 $
**
** Originally written by Steven M. Bellovin <smb@research.att.com> while
** at the University of North Carolina at Chapel Hill. Later tweaked by
@@ -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;