diff options
Diffstat (limited to 'ext/xsl')
-rw-r--r-- | ext/xsl/php_xsl.c | 8 | ||||
-rw-r--r-- | ext/xsl/php_xsl.h | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index d89b4cbd33..60338bb997 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -47,12 +47,8 @@ static const zend_module_dep xsl_deps[] = { /* {{{ xsl_module_entry */ zend_module_entry xsl_module_entry = { -#if ZEND_MODULE_API_NO >= 20050617 STANDARD_MODULE_HEADER_EX, NULL, xsl_deps, -#elif ZEND_MODULE_API_NO >= 20010901 - STANDARD_MODULE_HEADER, -#endif "xsl", xsl_functions, PHP_MINIT(xsl), @@ -60,9 +56,7 @@ zend_module_entry xsl_module_entry = { NULL, NULL, PHP_MINFO(xsl), -#if ZEND_MODULE_API_NO >= 20010901 - "0.1", /* Replace with version number for your extension */ -#endif + PHP_XSL_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ diff --git a/ext/xsl/php_xsl.h b/ext/xsl/php_xsl.h index 38715eb8af..4250ae83d6 100644 --- a/ext/xsl/php_xsl.h +++ b/ext/xsl/php_xsl.h @@ -24,6 +24,9 @@ extern zend_module_entry xsl_module_entry; #define phpext_xsl_ptr &xsl_module_entry +#include "php_version.h" +#define PHP_XSL_VERSION PHP_VERSION + #ifdef ZTS #include "TSRM.h" #endif |