summaryrefslogtreecommitdiff
path: root/ext/date/lib/unixtime2tm.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2005-06-15 09:02:28 +0000
committerEdin Kadribasic <edink@php.net>2005-06-15 09:02:28 +0000
commitcc33e8f5363861916100de8d9aa1de0f402d7f5d (patch)
tree07d533ef26fffda105b0b49e0b331c58e061906c /ext/date/lib/unixtime2tm.c
parentd1974bad1b1e287d8fb3210a817fffe187a0aa78 (diff)
downloadphp-git-cc33e8f5363861916100de8d9aa1de0f402d7f5d.tar.gz
Nuke PHP_ prefix from timelib
Diffstat (limited to 'ext/date/lib/unixtime2tm.c')
-rw-r--r--ext/date/lib/unixtime2tm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/lib/unixtime2tm.c b/ext/date/lib/unixtime2tm.c
index a198b405a9..315b375a75 100644
--- a/ext/date/lib/unixtime2tm.c
+++ b/ext/date/lib/unixtime2tm.c
@@ -23,9 +23,9 @@
#include <string.h>
#if defined(_MSC_VER)
-#define PHP_LL_CONST(n) n ## i64
+#define TIMELIB_LL_CONST(n) n ## i64
#else
-#define PHP_LL_CONST(n) n ## ll
+#define TIMELIB_LL_CONST(n) n ## ll
#endif
#include "datetime.h"
@@ -67,7 +67,7 @@ void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts)
/* Guess why this might be for, it has to do with a pope ;-). It's also
* only valid for Great Brittain and it's colonies. It needs fixing for
* other locales. *sigh*, why is this crap so complex! */
- if (ts <= PHP_LL_CONST(-6857352000)) {
+ if (ts <= TIMELIB_LL_CONST(-6857352000)) {
tmp_days -= 11;
}