summaryrefslogtreecommitdiff
path: root/ext/gmp/php_gmp.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 20:33:54 +0100
committerAnatol Belski <ab@php.net>2015-03-23 20:33:54 +0100
commit2d78023244eaa5ec60b1325e530150394d625fa8 (patch)
tree8c860ae1f6a44fa7bf7ae8e9f2406af91c1abe9c /ext/gmp/php_gmp.h
parentec89c85054e44a0d4ea85f62601405843cd05d5d (diff)
downloadphp-git-2d78023244eaa5ec60b1325e530150394d625fa8.tar.gz
cleanup the mod version macros, round 2
Diffstat (limited to 'ext/gmp/php_gmp.h')
-rw-r--r--ext/gmp/php_gmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h
index ca3f404d68..2ca592907e 100644
--- a/ext/gmp/php_gmp.h
+++ b/ext/gmp/php_gmp.h
@@ -26,6 +26,9 @@
extern zend_module_entry gmp_module_entry;
#define phpext_gmp_ptr &gmp_module_entry
+#include "php_version.h"
+#define PHP_GMP_VERSION PHP_VERSION
+
ZEND_MODULE_STARTUP_D(gmp);
ZEND_MODULE_DEACTIVATE_D(gmp);
ZEND_MODULE_INFO_D(gmp);