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
This commit is contained in:
Francois-Xavier Coudert 2005-10-21 21:40:32 +02:00 committed by François-Xavier Coudert
parent bf9d2177bf
commit c7ba5f8dff
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/24383
* io/unix.c: Add fallback definition for SSIZE_MAX.
2005-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* c99_protos.h: Define preprocessor HAVE_ macros with value 1

View file

@ -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