From c7ba5f8dff6d2607cf0b6822f89997fdc7e8f1ee Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Fri, 21 Oct 2005 21:40:32 +0200 Subject: re PR libfortran/24383 (mingw doesn't have SSIZE_MAX) PR libfortran/24383 * io/unix.c: Add fallback definition for SSIZE_MAX. From-SVN: r105768 --- libgfortran/io/unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libgfortran/io') diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index ea03515..91a7a47 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -46,6 +46,10 @@ Boston, MA 02110-1301, USA. */ #include "libgfortran.h" #include "io.h" +#ifndef SSIZE_MAX +#define SSIZE_MAX SHRT_MAX +#endif + #ifndef PATH_MAX #define PATH_MAX 1024 #endif -- cgit v1.1