diff options
author | Anatol Belski <ab@php.net> | 2015-03-23 20:13:59 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-23 20:13:59 +0100 |
commit | ec89c85054e44a0d4ea85f62601405843cd05d5d (patch) | |
tree | 35783a64f8e52f82a7dcd46cb5b272f176f7608d /ext/calendar | |
parent | 88b2a2d40594bb9924eaaae123a5833a0ba36033 (diff) | |
download | php-git-ec89c85054e44a0d4ea85f62601405843cd05d5d.tar.gz |
cleaning up the version macros
Diffstat (limited to 'ext/calendar')
-rw-r--r-- | ext/calendar/calendar.c | 2 | ||||
-rw-r--r-- | ext/calendar/php_calendar.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/calendar/calendar.c b/ext/calendar/calendar.c index f84335bd33..73a2b3a03d 100644 --- a/ext/calendar/calendar.c +++ b/ext/calendar/calendar.c @@ -161,7 +161,7 @@ zend_module_entry calendar_module_entry = { NULL, NULL, PHP_MINFO(calendar), - NO_VERSION_YET, + PHP_CALENDAR_VERSION, STANDARD_MODULE_PROPERTIES, }; diff --git a/ext/calendar/php_calendar.h b/ext/calendar/php_calendar.h index f574877a81..0566ce58c5 100644 --- a/ext/calendar/php_calendar.h +++ b/ext/calendar/php_calendar.h @@ -4,6 +4,9 @@ extern zend_module_entry calendar_module_entry; #define calendar_module_ptr &calendar_module_entry +#include "php_version.h" +#define PHP_CALENDAR_VERSION PHP_VERSION + /* Functions */ PHP_MINIT_FUNCTION(calendar); |