From: Frank M. Kromann Date: Mon, 19 Jan 2004 23:44:03 +0000 (+0000) Subject: Fix compilation of simplexml when spl is build as shared object X-Git-Tag: php_ibase_before_split~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d6fcd02cbc0bfdbcf36ea865a26aadd53c57850;p=php Fix compilation of simplexml when spl is build as shared object --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 0de4f05fd4..eeb752ece1 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1475,7 +1475,7 @@ PHP_MINIT_FUNCTION(simplexml) sxe_object_handlers.get_class_entry = zend_get_std_object_handlers()->get_class_entry; sxe_object_handlers.get_class_name = zend_get_std_object_handlers()->get_class_name; -#if HAVE_SPL +#if HAVE_SPL && !defined(COMPILE_DL_SPL) if (zend_get_module_started("spl") == SUCCESS) { PHP_MINIT(spl_sxe)(INIT_FUNC_ARGS_PASSTHRU); }