From 5f369da4e18180590602f4fff9499dc6a455756f Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Sun, 24 Feb 2019 22:34:20 +0100 Subject: [PATCH] Fixed preprocessor command for mingw --- src/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time.c b/src/time.c index bae42ed..9effca4 100644 --- a/src/time.c +++ b/src/time.c @@ -51,7 +51,7 @@ time_get_weekly_seed(void) { time_t now = time(NULL); -#ifdef _MINGW32_ +#ifdef __MINGW32__ struct tm *tm; tm = gmtime(&now); time_t lastMonday = get_last_monday(now, tm);