From dfd8f3f735d222b6ea804644d52f0dbff51706b9 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 22 Feb 2008 09:48:18 +0000 Subject: [PATCH] - MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps. --- NEWS | 2 ++ ext/date/lib/timelib.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 4cfd3ca76f..557776462d 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,8 @@ PHP NEWS - Upgraded PCRE to version 7.6 (Nuno) +- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit + platforms). (Derick) - Fixed bug #44197 (socket array keys lost on socket_select). (Felipe) - Fixed bug #44191 (preg_grep messes up array index). (Felipe) - Fixed bug #44189 (PDO setAttribute() does not properly validate values for diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h index da6fb58417..af7e7118b6 100644 --- a/ext/date/lib/timelib.h +++ b/ext/date/lib/timelib.h @@ -22,6 +22,9 @@ #define __TIMELIB_H__ #include "timelib_structs.h" +#if HAVE_LIMITS_H +#include +#endif #define TIMELIB_NONE 0x00 #define TIMELIB_OVERRIDE_TIME 0x01 -- 2.50.1