summaryrefslogtreecommitdiff
path: root/ext/bcmath/php_bcmath.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 20:13:59 +0100
committerAnatol Belski <ab@php.net>2015-03-23 20:13:59 +0100
commitec89c85054e44a0d4ea85f62601405843cd05d5d (patch)
tree35783a64f8e52f82a7dcd46cb5b272f176f7608d /ext/bcmath/php_bcmath.h
parent88b2a2d40594bb9924eaaae123a5833a0ba36033 (diff)
downloadphp-git-ec89c85054e44a0d4ea85f62601405843cd05d5d.tar.gz
cleaning up the version macros
Diffstat (limited to 'ext/bcmath/php_bcmath.h')
-rw-r--r--ext/bcmath/php_bcmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h
index eab199f5fc..5cb65547aa 100644
--- a/ext/bcmath/php_bcmath.h
+++ b/ext/bcmath/php_bcmath.h
@@ -26,6 +26,9 @@
extern zend_module_entry bcmath_module_entry;
#define phpext_bcmath_ptr &bcmath_module_entry
+#include "php_version.h"
+#define PHP_BCMATH_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(bcmath);
PHP_MSHUTDOWN_FUNCTION(bcmath);
PHP_MINFO_FUNCTION(bcmath);