diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-01-31 22:56:00 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-31 22:56:36 +0100 |
commit | fcb9b63ee53e0fafa256a10d8e5b490fab004462 (patch) | |
tree | 307d0c01110c3a45c6ae9027e656c68122d5d75c | |
parent | da5f4b1d84a6aef9ae35274a417f8fb3853a4a90 (diff) |
parsedate: s/#if/#ifdef
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/commit/1c39128d974666107fc6d9ea15f294036851f224#commitcomment-27246479
-rw-r--r-- | lib/parsedate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |