]> granicus.if.org Git - php/commitdiff
Use thread-safe versions of localtime and gmtime on Win32 too
authorSam Ruby <rubys@php.net>
Mon, 29 Nov 1999 14:04:16 +0000 (14:04 +0000)
committerSam Ruby <rubys@php.net>
Mon, 29 Nov 1999 14:04:16 +0000 (14:04 +0000)
ext/standard/parsedate.y

index e8dfa8c80bca5943b07d33cb9e659fa40f55e1bf..a7f61648f45b78b91529c82fbebaf1a40b36ced8 100644 (file)
@@ -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;