]> granicus.if.org Git - php/commitdiff
Fix ZTS build
authorFrank M. Kromann <fmk@php.net>
Thu, 30 Jun 2005 22:49:47 +0000 (22:49 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 30 Jun 2005 22:49:47 +0000 (22:49 +0000)
ext/date/php_date.c

index d3e65afb79f6951e71eac45b4962dc3acad50459..9dd466bccff548c8bb6f3a4c404218fe0af89a75 100644 (file)
@@ -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);