diff --git a/compat/posix.h b/compat/posix.h index 245386fa4a..9bb6f09630 100644 --- a/compat/posix.h +++ b/compat/posix.h @@ -45,7 +45,7 @@ #define UNUSED #endif -#ifdef __MINGW64__ +#if defined(__MINGW32__) || defined(__MINGW64__) #define _POSIX_C_SOURCE 1 #elif defined(__sun__) /*