diff options
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index 0fa8f8f..f4f5d74 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -47,9 +47,9 @@ extern zend_module_entry simplexml_module_entry; #include <libxml/xmlschemas.h> PHP_MINIT_FUNCTION(simplexml); -PHP_MSHUTDOWN_FUNCTION(simplexml); +#if HAVE_SPL && !defined(COMPILE_DL_SPL) PHP_RINIT_FUNCTION(simplexml); -PHP_RSHUTDOWN_FUNCTION(simplexml); +#endif PHP_MINFO_FUNCTION(simplexml); typedef struct { @@ -82,7 +82,6 @@ typedef struct { #endif - /* * Local variables: * tab-width: 4 |