summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
committerAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
commit663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch)
treeeea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/sysvmsg
parent19360f386ec3e78f7f57f9e943569410dc2f718f (diff)
downloadphp-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/sysvmsg')
-rw-r--r--ext/sysvmsg/php_sysvmsg.h3
-rw-r--r--ext/sysvmsg/sysvmsg.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/sysvmsg/php_sysvmsg.h b/ext/sysvmsg/php_sysvmsg.h
index 6a32734910..8ee9aa97db 100644
--- a/ext/sysvmsg/php_sysvmsg.h
+++ b/ext/sysvmsg/php_sysvmsg.h
@@ -26,6 +26,9 @@
extern zend_module_entry sysvmsg_module_entry;
#define phpext_sysvmsg_ptr &sysvmsg_module_entry
+#include "php_version.h"
+#define PHP_SYSVMSG_VERSION PHP_VERSION
+
#ifndef __USE_GNU
/* we want to use mtype instead of __mtype */
#define __USE_GNU
diff --git a/ext/sysvmsg/sysvmsg.c b/ext/sysvmsg/sysvmsg.c
index 7f4682c92e..80fd7e940f 100644
--- a/ext/sysvmsg/sysvmsg.c
+++ b/ext/sysvmsg/sysvmsg.c
@@ -110,7 +110,7 @@ zend_module_entry sysvmsg_module_entry = {
NULL,
NULL,
PHP_MINFO(sysvmsg),
- NO_VERSION_YET,
+ PHP_SYSVMSG_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */