From ec89c85054e44a0d4ea85f62601405843cd05d5d Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 23 Mar 2015 20:13:59 +0100 Subject: cleaning up the version macros --- ext/ctype/ctype.c | 2 +- ext/ctype/php_ctype.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/ctype') diff --git a/ext/ctype/ctype.c b/ext/ctype/ctype.c index ee4f876a20..ba555e2539 100644 --- a/ext/ctype/ctype.c +++ b/ext/ctype/ctype.c @@ -121,7 +121,7 @@ zend_module_entry ctype_module_entry = { NULL, NULL, PHP_MINFO(ctype), - NO_VERSION_YET, + PHP_CTYPE_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ diff --git a/ext/ctype/php_ctype.h b/ext/ctype/php_ctype.h index 571dc3027c..b6c6775e87 100644 --- a/ext/ctype/php_ctype.h +++ b/ext/ctype/php_ctype.h @@ -19,6 +19,9 @@ #ifndef PHP_CTYPE_H #define PHP_CTYPE_H +#include "php_version.h" +#define PHP_CTYPE_VERSION PHP_VERSION + #if HAVE_CTYPE extern zend_module_entry ctype_module_entry; -- cgit v1.2.1