1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

* posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX.

On 32-bit platforms they are the same; on 64-bit platforms ssize_t
	matches long int, not int.
This commit is contained in:
Roland McGrath
2002-08-02 21:16:39 +00:00
parent 8fe0477142
commit 8102f4f96e
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991,92,93,96,98,2000,2001 Free Software Foundation, Inc.
/* Copyright (C) 1991,92,93,96,98,2000,01,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -127,7 +127,7 @@
#ifndef SSIZE_MAX
# define SSIZE_MAX INT_MAX
# define SSIZE_MAX LONG_MAX
#endif