[PATCH, AArch64] Define ssize_t as long

Yufeng Zhang Yufeng.Zhang@arm.com
Mon Dec 17 13:42:00 GMT 2012


Hi,

The attached patch adds to the AArch64 port a machine specific _types.h 
file to define _ssize_t as long (instead of int by default).  With this 
patch, ssize_t will have the same size as the type size_t on AArch64.

Is it OK?

Thanks,
Yufeng

newlib/

2012-12-13  Yufeng Zhang  <yufeng.zhang@arm.com>

         * libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
         as long.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-ssize_t-long.patch
Type: text/x-patch
Size: 1910 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20121217/e45d1b3d/attachment.bin>


More information about the Newlib mailing list