From: Frank M. Kromann Date: Thu, 30 Jun 2005 22:49:47 +0000 (+0000) Subject: Fix ZTS build X-Git-Tag: php-5.1.0b3~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6833acff233c63c25ca2ebdc64c98464f5e75bd5;p=php Fix ZTS build --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index d3e65afb79..9dd466bccf 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -252,7 +252,7 @@ static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime) t = timelib_time_ctor(); if (localtime) { - tzi = timelib_parse_tzfile(guess_timezone()); + tzi = timelib_parse_tzfile(guess_timezone(TSRMLS_C)); if (! tzi) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot find any timezone setting"); timelib_time_dtor(t);