aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-08-08 16:59:43 +0000
committerGunter Knauf <gk@gknw.de>2007-08-08 16:59:43 +0000
commitd5ed9f787f72c0ad5c7757bff94b6c5855ceb984 (patch)
tree5f11b5c07f51b560ccb3041ef196a33ccba5dd6d
parent259f27b09fcbe1440a00f3024ecdf4c43e218642 (diff)
blocked ssize_t define for MingW32.
-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