diff options
| author | Frank M. Kromann <fmk@php.net> | 2004-01-19 23:44:03 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2004-01-19 23:44:03 +0000 |
| commit | 0d6fcd02cbc0bfdbcf36ea865a26aadd53c57850 (patch) | |
| tree | d089e02c8ed5dd2f0948dde4ebb1e7cd04720c10 /ext/simplexml/simplexml.c | |
| parent | 25cb3d01d5c71346383732a9102e4291341b67c1 (diff) | |
| download | php-git-0d6fcd02cbc0bfdbcf36ea865a26aadd53c57850.tar.gz | |
Fix compilation of simplexml when spl is build as shared object
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
