summaryrefslogtreecommitdiff
path: root/ext/recode
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
committerAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
commit663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch)
treeeea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/recode
parent19360f386ec3e78f7f57f9e943569410dc2f718f (diff)
downloadphp-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/recode')
-rw-r--r--ext/recode/php_recode.h3
-rw-r--r--ext/recode/recode.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/recode/php_recode.h b/ext/recode/php_recode.h
index 69931b5718..83c021f701 100644
--- a/ext/recode/php_recode.h
+++ b/ext/recode/php_recode.h
@@ -26,6 +26,9 @@
extern zend_module_entry recode_module_entry;
#define phpext_recode_ptr &recode_module_entry
+#include "php_version.h"
+#define PHP_RECODE_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(recode);
PHP_MSHUTDOWN_FUNCTION(recode);
PHP_MINFO_FUNCTION(recode);
diff --git a/ext/recode/recode.c b/ext/recode/recode.c
index 7d9233a374..d945431636 100644
--- a/ext/recode/recode.c
+++ b/ext/recode/recode.c
@@ -96,7 +96,7 @@ zend_module_entry recode_module_entry = {
NULL,
NULL,
PHP_MINFO(recode),
- NO_VERSION_YET,
+ PHP_RECODE_VERSION,
PHP_MODULE_GLOBALS(recode),
PHP_GINIT(recode),
NULL,