From 663074b6b1fa4534fbbb65462aeef40f2c983ad5 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 23 Mar 2015 21:30:22 +0100 Subject: cleanup mod version macros and mod defs, round x --- ext/sysvmsg/php_sysvmsg.h | 3 +++ ext/sysvmsg/sysvmsg.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/sysvmsg') 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 }; /* }}} */ -- cgit v1.2.1