diff options
author | Derick Rethans <derick@php.net> | 2008-02-22 09:48:18 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2008-02-22 09:48:18 +0000 |
commit | dfd8f3f735d222b6ea804644d52f0dbff51706b9 (patch) | |
tree | 232330c299fedf9da1f47d11e5e90708ab2f8ae0 | |
parent | 6dc4795a662d297e3796ea347bedc92307552b00 (diff) | |
download | php-git-dfd8f3f735d222b6ea804644d52f0dbff51706b9.tar.gz |
- MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | ext/date/lib/timelib.h | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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 <limits.h> +#endif #define TIMELIB_NONE 0x00 #define TIMELIB_OVERRIDE_TIME 0x01 |