From: Frank M. Kromann Date: Mon, 19 Jan 2004 23:43:03 +0000 (+0000) Subject: Fix compilation of spl as shared object X-Git-Tag: php_ibase_before_split~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25cb3d01d5c71346383732a9102e4291341b67c1;p=php Fix compilation of spl as shared object --- diff --git a/ext/spl/spl_sxe.c b/ext/spl/spl_sxe.c index 791de4ef90..ccaee4e635 100755 --- a/ext/spl/spl_sxe.c +++ b/ext/spl/spl_sxe.c @@ -144,7 +144,7 @@ static zend_function_entry spl_funcs_SimpleXMLIterator[] = { #define SimpleXML_Element sxe_get_element_class_entry() -ZEND_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ +SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ { zend_class_entry *spl_ce_SimpleXML_Element = sxe_get_element_class_entry(); @@ -161,7 +161,7 @@ ZEND_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ #else /* HAVE_LIBXML && HAVE_SIMPLEXML */ -ZEND_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ +SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ { return SUCCESS; }