From: Ilia Alshanetsky Date: Tue, 7 Jan 2003 14:34:41 +0000 (+0000) Subject: Fixed ZTS build with ZE2. X-Git-Tag: PHP_5_0_dev_before_13561_fix~399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7513855b335e9346b3699a15050bbc2250130bc;p=php Fixed ZTS build with ZE2. --- diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 3aef2a068d..e3b6a6ea81 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -782,7 +782,7 @@ void *php_xsltstylesheet_get_object(zval *wrapper, int rsrc_type1, int rsrc_type return obj; } -static void php_xsltstylesheet_set_object(zval *wrapper, void *obj, int rsrc_type) +static void php_xsltstylesheet_set_object(zval *wrapper, void *obj, int rsrc_type TSRMLS_DC) { zval *handle, *addr; @@ -4992,7 +4992,7 @@ static zval *php_xsltstylesheet_new(xsltStylesheetPtr obj, int *found TSRMLS_DC) object_init_ex(wrapper, domxsltstylesheet_class_entry); rsrc_type = le_domxsltstylesheetp; - php_xsltstylesheet_set_object(wrapper, (void *) obj, rsrc_type); + php_xsltstylesheet_set_object(wrapper, (void *) obj, rsrc_type TSRMLS_CC); return (wrapper); }