fmk Mon Jan 19 18:43:04 2004 EDT
Modified files:
/php-src/ext/spl spl_sxe.c
Log:
Fix compilation of spl as shared object
http://cvs.php.net/diff.php/php-src/ext/spl/spl_sxe.c?r1=1.3&r2=1.4&ty=u
Index: php-src/ext/spl/spl_sxe.c
diff -u php-src/ext/spl/spl_sxe.c:1.3 php-src/ext/spl/spl_sxe.c:1.4
--- php-src/ext/spl/spl_sxe.c:1.3 Sun Jan 18 18:35:13 2004
+++ php-src/ext/spl/spl_sxe.c Mon Jan 19 18:43:03 2004
@@ -144,7 +144,7 @@
#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 @@
#else /* HAVE_LIBXML && HAVE_SIMPLEXML */
-ZEND_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */
+SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */
{
return SUCCESS;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php