aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/parsedate.c2
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;