summaryrefslogtreecommitdiff
path: root/ext/com_dotnet
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/com_dotnet
parent88b2a2d40594bb9924eaaae123a5833a0ba36033 (diff)
downloadphp-git-ec89c85054e44a0d4ea85f62601405843cd05d5d.tar.gz
cleaning up the version macros
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r--ext/com_dotnet/com_extension.c2
-rw-r--r--ext/com_dotnet/php_com_dotnet.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c
index fcd1eff9c5..eeaf75399f 100644
--- a/ext/com_dotnet/com_extension.c
+++ b/ext/com_dotnet/com_extension.c
@@ -244,7 +244,7 @@ zend_module_entry com_dotnet_module_entry = {
PHP_RINIT(com_dotnet),
PHP_RSHUTDOWN(com_dotnet),
PHP_MINFO(com_dotnet),
- "0.1",
+ PHP_COM_DOTNET_VERSION,
PHP_MODULE_GLOBALS(com_dotnet),
PHP_GINIT(com_dotnet),
NULL,
diff --git a/ext/com_dotnet/php_com_dotnet.h b/ext/com_dotnet/php_com_dotnet.h
index 85ab9b827e..8ac6e039b6 100644
--- a/ext/com_dotnet/php_com_dotnet.h
+++ b/ext/com_dotnet/php_com_dotnet.h
@@ -36,6 +36,9 @@ extern zend_module_entry com_dotnet_module_entry;
# define PHP_COM_DOTNET_API
#endif
+#include "php_version.h"
+#define PHP_COM_DOTNET_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(com_dotnet);
PHP_MSHUTDOWN_FUNCTION(com_dotnet);
PHP_RINIT_FUNCTION(com_dotnet);