diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-21 19:40:32 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-21 19:40:32 +0000 |
commit | 8df8ec570727ddfd7ab8b7a4bcd3b98617583c1a (patch) | |
tree | afeb9de5311930cd456267db2bde5f3cefaf7ebd /libgfortran/io/unix.c | |
parent | edbbaed5bbbf65cc975aa6fa216e7713055cbc70 (diff) | |
download | gcc-8df8ec570727ddfd7ab8b7a4bcd3b98617583c1a.tar.gz |
PR libfortran/24383
* io/unix.c: Add fallback definition for SSIZE_MAX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index ea03515f468..91a7a474d07 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 |