From 6833acff233c63c25ca2ebdc64c98464f5e75bd5 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Thu, 30 Jun 2005 22:49:47 +0000 Subject: [PATCH] Fix ZTS build --- ext/date/php_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0