summaryrefslogtreecommitdiff
path: root/ext/posix
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/posix
parent19360f386ec3e78f7f57f9e943569410dc2f718f (diff)
downloadphp-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/php_posix.h3
-rw-r--r--ext/posix/posix.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h
index de42574b8d..ced4afe2c6 100644
--- a/ext/posix/php_posix.h
+++ b/ext/posix/php_posix.h
@@ -34,6 +34,9 @@
extern zend_module_entry posix_module_entry;
#define posix_module_ptr &posix_module_entry
+#include "php_version.h"
+#define PHP_POSIX_VERSION PHP_VERSION
+
/* POSIX.1, 3.3 */
PHP_FUNCTION(posix_kill);
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 6a0d4ccc3a..12fb3f3e36 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -360,7 +360,7 @@ zend_module_entry posix_module_entry = {
NULL,
NULL,
PHP_MINFO(posix),
- NO_VERSION_YET,
+ PHP_POSIX_VERSION,
PHP_MODULE_GLOBALS(posix),
PHP_GINIT(posix),
NULL,