diff --git a/compat/posix.h b/compat/posix.h index deefc43f28..980cf68025 100644 --- a/compat/posix.h +++ b/compat/posix.h @@ -56,7 +56,7 @@ #define UNUSED #endif -#ifdef __MINGW64__ +#if defined(__MINGW32__) || defined(__MINGW64__) #define _POSIX_C_SOURCE 1 #elif defined(__sun__) /*