summaryrefslogtreecommitdiff
path: root/ext/gettext/php_gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gettext/php_gettext.h')
-rw-r--r--ext/gettext/php_gettext.h3
1 files changed, 3 insertions, 0 deletions
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);