blocked ssize_t define for MingW32.
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 67375e0..5b2a422 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 90ce7d6..3884970 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