2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/sys/types.h (ssize_t): Defined as int as opposed to long.

        Thanks to bvassche for the report.
This commit is contained in:
Chris Sutcliffe 2011-08-20 01:38:16 +00:00
parent 1165d4442d
commit 74604ab159
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/sys/types.h (ssize_t): Defined as int as opposed to long.
Thanks to bvassche for the report.
2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
Correct checking for short option matches in getopt_long_only().

View File

@ -112,7 +112,7 @@ typedef _sigset_t sigset_t;
#ifndef _SSIZE_T_
#define _SSIZE_T_
typedef long _ssize_t;
typedef int _ssize_t;
#ifndef _NO_OLDNAMES
typedef _ssize_t ssize_t;