From 663074b6b1fa4534fbbb65462aeef40f2c983ad5 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 23 Mar 2015 21:30:22 +0100 Subject: cleanup mod version macros and mod defs, round x --- ext/xmlwriter/php_xmlwriter.c | 2 +- ext/xmlwriter/php_xmlwriter.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/xmlwriter') 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 -- cgit v1.2.1