From 75d450d0663a2df34e671bb41ef1d9ef2499c73e Mon Sep 17 00:00:00 2001 From: satk0 Date: Wed, 2 Oct 2024 22:33:45 +0200 Subject: [PATCH] Fix detection of mingw32 --- cutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutils.c b/cutils.c index 220318ae..cfa56de1 100644 --- a/cutils.c +++ b/cutils.c @@ -1129,7 +1129,7 @@ void rqsort(void *base, size_t nmemb, size_t size, cmp_f cmp, void *opaque) /*---- Portable time functions ----*/ -#if defined(_MSC_VER) || (__MINGW32__ && !__MINGW64__) +#if defined(_MSC_VER) || (__MINGW32__ && !defined(__MINGW64__)) // From: https://stackoverflow.com/a/26085827 static int gettimeofday_msvc(struct timeval *tp, struct timezone *tzp) {