2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>

* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
	__v850__, __851__.
This commit is contained in:
Ralf Corsepius 2012-07-13 09:21:45 +00:00
parent 52970c1fa5
commit d2f675622f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
__v850__, __851__.
2012-07-09 Corinna Vinschen <vinschen@redhat.com>
* libc/stdio/fileno.c (fileno): Check if f is a valid stream. If not,

View File

@ -13,7 +13,8 @@
* could be applied here.
*/
#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || defined(__arm__) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__)
#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || (defined(__arm__) && !defined(__ARM_EABI__)) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__) \
|| defined(__v850__) || defined(__v851__)
#if defined(__H8300__)
typedef signed int _ssize_t;
#else
@ -23,7 +24,7 @@ typedef long signed int _ssize_t;
#elif defined(__sparc__) && defined(__LP64__)
typedef long signed int _ssize_t;
#define __ssize_t_defined 1
#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__moxie__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__)
#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__moxie__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__) || defined(__ARM_EABI__)
typedef signed int _ssize_t;
#define __ssize_t_defined 1
#else