]> granicus.if.org Git - php/commitdiff
Add a version number to timelib for other projects that use it.
authorScott MacVicar <scottmac@php.net>
Wed, 9 Mar 2011 20:06:52 +0000 (20:06 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 9 Mar 2011 20:06:52 +0000 (20:06 +0000)
This has the same version scheme as timezonedb.

<year><release-padded-to-two>

ext/date/lib/timelib.h

index c79fa9a46996d2f7b3435a485220ccacfbd08dce..48a952e790175100a310d97c629911547fdb5928 100644 (file)
@@ -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