summaryrefslogtreecommitdiff
path: root/ext/simplexml/simplexml.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-08 19:30:37 +0000
committerMarcus Boerger <helly@php.net>2004-01-08 19:30:37 +0000
commitfb38ee26a41a62704df1bd04ea66034f27f13b14 (patch)
tree85be9b31ac3b4ab4c5f4949ffaa4029d208c9bd5 /ext/simplexml/simplexml.c
parent6e798706e3f09bae608facb381c6ca1576b4370c (diff)
downloadphp-git-fb38ee26a41a62704df1bd04ea66034f27f13b14.tar.gz
Cannot use shared 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 fb72206692..f7daddbeed 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -31,7 +31,7 @@
#include "ext/standard/php_string.h"
#include "php_simplexml.h"
-#if HAVE_SPL
+#if HAVE_SPL && !defined(COMPILE_DL_SPL)
#include "ext/spl/spl_iterators.h"
#endif
@@ -1613,7 +1613,7 @@ PHP_MINIT_FUNCTION(simplexml)
INIT_CLASS_ENTRY(sxe, "simplexml_element", sxe_functions);
sxe.create_object = sxe_object_new;
sxe_class_entry = zend_register_internal_class(&sxe TSRMLS_CC);
-#if HAVE_SPL
+#if HAVE_SPL && !defined(COMPILE_DL_SPL)
zend_class_implements(sxe_class_entry TSRMLS_CC, 1, spl_ce_RecursiveIterator);
#endif
sxe_class_entry->get_iterator = php_sxe_get_iterator;