diff options
author | Anatol Belski <ab@php.net> | 2015-03-23 21:30:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-23 21:30:22 +0100 |
commit | 663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch) | |
tree | eea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/xmlwriter | |
parent | 19360f386ec3e78f7f57f9e943569410dc2f718f (diff) | |
download | php-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz |
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.c | 2 | ||||
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index f2e458f64f..122ed0c31e 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -664,7 +664,7 @@ zend_module_entry xmlwriter_module_entry = { NULL, NULL, PHP_MINFO(xmlwriter), - "0.1", + PHP_XMLWRITER_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ diff --git a/ext/xmlwriter/php_xmlwriter.h b/ext/xmlwriter/php_xmlwriter.h index 5e6723b5a9..ff4a6b8617 100644 --- a/ext/xmlwriter/php_xmlwriter.h +++ b/ext/xmlwriter/php_xmlwriter.h @@ -25,6 +25,9 @@ extern zend_module_entry xmlwriter_module_entry; #define phpext_xmlwriter_ptr &xmlwriter_module_entry +#include "php_version.h" +#define PHP_XMLWRITER_VERSION PHP_VERSION + #ifdef ZTS #include "TSRM.h" #endif |