summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2008-02-22 09:48:18 +0000
committerDerick Rethans <derick@php.net>2008-02-22 09:48:18 +0000
commitdfd8f3f735d222b6ea804644d52f0dbff51706b9 (patch)
tree232330c299fedf9da1f47d11e5e90708ab2f8ae0
parent6dc4795a662d297e3796ea347bedc92307552b00 (diff)
downloadphp-git-dfd8f3f735d222b6ea804644d52f0dbff51706b9.tar.gz
- MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps.
-rw-r--r--NEWS2
-rw-r--r--ext/date/lib/timelib.h3
2 files changed, 5 insertions, 0 deletions
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 <limits.h>
+#endif
#define TIMELIB_NONE 0x00
#define TIMELIB_OVERRIDE_TIME 0x01