1
0
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:
Daniel Stenberg 2018-01-31 22:56:00 +01:00
parent da5f4b1d84
commit fcb9b63ee5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;