summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-30 11:15:00 +0000
committerfoobar <sniper@php.net>2005-06-30 11:15:00 +0000
commit340bcffdf0087d9a3e806217261612db1a3587ba (patch)
tree15e4b5321d5a8b310889dd34cb2300df2d6d1587 /ext/simplexml/simplexml.c
parent384c52faee5b9ba52163a7e65989937fcbdcf1d7 (diff)
downloadphp-git-340bcffdf0087d9a3e806217261612db1a3587ba.tar.gz
- Unify (+ spl can't be build shared so COMPILE_DL_SPL
Diffstat (limited to 'ext/simplexml/simplexml.c')
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index a9166d8297..d57c0524f9 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -34,7 +34,7 @@
#include "php_simplexml_exports.h"
#include "zend_exceptions.h"
#include "zend_interfaces.h"
-#if HAVE_SPL && !defined(COMPILE_DL_SPL)
+#ifdef HAVE_SPL
#include "ext/spl/spl_sxe.h"
#endif
@@ -1709,7 +1709,7 @@ PHP_MINIT_FUNCTION(simplexml)
sxe_ze1_object_handlers.get_class_name = zend_get_std_object_handlers()->get_class_name;
sxe_ze1_object_handlers.clone_obj = sxe_object_ze1_clone;
-#if HAVE_SPL && !defined(COMPILE_DL_SPL)
+#ifdef HAVE_SPL
if (zend_get_module_started("spl") == SUCCESS) {
PHP_MINIT(spl_sxe)(INIT_FUNC_ARGS_PASSTHRU);
}