diff options
author | Anatol Belski <ab@php.net> | 2015-03-23 20:33:54 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-23 20:33:54 +0100 |
commit | 2d78023244eaa5ec60b1325e530150394d625fa8 (patch) | |
tree | 8c860ae1f6a44fa7bf7ae8e9f2406af91c1abe9c /ext/gettext | |
parent | ec89c85054e44a0d4ea85f62601405843cd05d5d (diff) | |
download | php-git-2d78023244eaa5ec60b1325e530150394d625fa8.tar.gz |
cleanup the mod version macros, round 2
Diffstat (limited to 'ext/gettext')
-rw-r--r-- | ext/gettext/gettext.c | 2 | ||||
-rw-r--r-- | ext/gettext/php_gettext.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index 0cd7359fc3..91c2abb0eb 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -127,7 +127,7 @@ zend_module_entry php_gettext_module_entry = { NULL, NULL, PHP_MINFO(php_gettext), - NO_VERSION_YET, + PHP_GETTEXT_VERSION, STANDARD_MODULE_PROPERTIES }; diff --git a/ext/gettext/php_gettext.h b/ext/gettext/php_gettext.h index b8a6030bcd..d17a6817ba 100644 --- a/ext/gettext/php_gettext.h +++ b/ext/gettext/php_gettext.h @@ -26,6 +26,9 @@ extern zend_module_entry php_gettext_module_entry; #define gettext_module_ptr &php_gettext_module_entry +#include "php_version.h" +#define PHP_GETTEXT_VERSION PHP_VERSION + PHP_MINFO_FUNCTION(php_gettext); PHP_NAMED_FUNCTION(zif_textdomain); |