summaryrefslogtreecommitdiff
path: root/ext/ctype
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/ctype
parent88b2a2d40594bb9924eaaae123a5833a0ba36033 (diff)
downloadphp-git-ec89c85054e44a0d4ea85f62601405843cd05d5d.tar.gz
cleaning up the version macros
Diffstat (limited to 'ext/ctype')
-rw-r--r--ext/ctype/ctype.c2
-rw-r--r--ext/ctype/php_ctype.h3
2 files changed, 4 insertions, 1 deletions
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;