]> granicus.if.org Git - php/commitdiff
Fix compilation of spl as shared object
authorFrank M. Kromann <fmk@php.net>
Mon, 19 Jan 2004 23:43:03 +0000 (23:43 +0000)
committerFrank M. Kromann <fmk@php.net>
Mon, 19 Jan 2004 23:43:03 +0000 (23:43 +0000)
ext/spl/spl_sxe.c

index 791de4ef90f97e67e130dbb014cfdb9287a7019a..ccaee4e6355119627cc6b834d2ef02fe90d95864 100755 (executable)
@@ -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;
 }