mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
parsedate: s/#if/#ifdef
Reported-by: Michael Kaufmann
Bug: 1c39128d97 (commitcomment-27246479)
This commit is contained in:
parent
da5f4b1d84
commit
fcb9b63ee5
@ -498,7 +498,7 @@ static int parsedate(const char *date, time_t *output)
|
||||
|
||||
#if (SIZEOF_TIME_T < 5)
|
||||
|
||||
#if HAVE_TIME_T_UNSIGNED
|
||||
#ifdef HAVE_TIME_T_UNSIGNED
|
||||
/* an unsigned 32 bit time_t can only hold dates to 2106 */
|
||||
if(yearnum > 2105) {
|
||||
*output = TIME_T_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user