summaryrefslogtreecommitdiff
path: root/ext/calendar
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/calendar
parent88b2a2d40594bb9924eaaae123a5833a0ba36033 (diff)
downloadphp-git-ec89c85054e44a0d4ea85f62601405843cd05d5d.tar.gz
cleaning up the version macros
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/calendar.c2
-rw-r--r--ext/calendar/php_calendar.h3
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);