summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2011-03-09 20:06:52 +0000
committerScott MacVicar <scottmac@php.net>2011-03-09 20:06:52 +0000
commitdd68a6239aa7fd5997667c564dba1c6708323d9c (patch)
tree98c763baba8bb8b6ae6113760f68760edb1922e1 /ext/date
parent39d814a205749acd929f3e0f5a8012012e3dd8f6 (diff)
downloadphp-git-dd68a6239aa7fd5997667c564dba1c6708323d9c.tar.gz
Add a version number to timelib for other projects that use it.
This has the same version scheme as timezonedb. <year><release-padded-to-two>
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/lib/timelib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h
index c79fa9a469..48a952e790 100644
--- a/ext/date/lib/timelib.h
+++ b/ext/date/lib/timelib.h
@@ -26,6 +26,8 @@
#include <limits.h>
#endif
+#define TIMELIB_VERSION 201101
+
#define TIMELIB_NONE 0x00
#define TIMELIB_OVERRIDE_TIME 0x01
#define TIMELIB_NO_CLONE 0x02