diff --git a/lib/config-win32.h b/lib/config-win32.h index 67375e0c94..5b2a4220ae 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -282,7 +282,8 @@ /* Define as the return type of signal handlers (int or void). */ #define RETSIGTYPE void -#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) +#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) || \ + defined(__MINGW32__) #elif defined(_WIN64) #define ssize_t __int64 #else diff --git a/src/config-win32.h b/src/config-win32.h index 90ce7d6d8f..3884970784 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -141,7 +141,8 @@ /* Define as the return type of signal handlers (int or void). */ #define RETSIGTYPE void -#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) +#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) || \ + defined(__MINGW32__) #elif defined(_WIN64) #define ssize_t __int64 #else