aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/config-win32.h3
-rw-r--r--src/config-win32.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 67375e0c9..5b2a4220a 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 90ce7d6d8..388497078 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