From: Daniel Stenberg Date: Wed, 31 Jan 2018 21:56:00 +0000 (+0100) Subject: parsedate: s/#if/#ifdef X-Git-Tag: curl-7_59_0~108 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcb9b63ee53e0fafa256a10d8e5b490fab004462;p=curl parsedate: s/#if/#ifdef Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/commit/1c39128d974666107fc6d9ea15f294036851f224#commitcomment-27246479 --- diff --git a/lib/parsedate.c b/lib/parsedate.c index 0dbaf3610..beaa1bbd5 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -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;