From d5ed9f787f72c0ad5c7757bff94b6c5855ceb984 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Wed, 8 Aug 2007 16:59:43 +0000 Subject: [PATCH] blocked ssize_t define for MingW32. --- lib/config-win32.h | 3 ++- src/config-win32.h | 3 ++- 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