aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2012-07-18 15:22:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2012-07-18 15:22:45 +0000
commitf9a0f9ad5fe43f9e04696af156bce242a80393d2 (patch)
tree71aeabbca610bcbb910dc1cbbca9c69ea99e9ba1 /newlib/libc/sys
parentfe05ac4f1472919598f8fa02af09d60336fdde42 (diff)
downloadnewlib-f9a0f9ad5fe43f9e04696af156bce242a80393d2.zip
newlib-f9a0f9ad5fe43f9e04696af156bce242a80393d2.tar.gz
newlib-f9a0f9ad5fe43f9e04696af156bce242a80393d2.tar.bz2
2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for __v850__, __851__.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/rtems/machine/_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/sys/rtems/machine/_types.h b/newlib/libc/sys/rtems/machine/_types.h
index e28a8bb..ce8dc47 100644
--- a/newlib/libc/sys/rtems/machine/_types.h
+++ b/newlib/libc/sys/rtems/machine/_types.h
@@ -13,8 +13,7 @@
* could be applied here.
*/
-#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || (defined(__arm__) && !defined(__ARM_EABI__)) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__) \
- || defined(__v850__) || defined(__v851__)
+#if defined(__i386__) || defined(__m32r__) || defined(__h8300__) || (defined(__arm__) && !defined(__ARM_EABI__)) || defined(__bfin__) || defined(__m68k__) || defined(__MICROBLAZE__)
#if defined(__H8300__)
typedef signed int _ssize_t;
#else
@@ -24,7 +23,8 @@ 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__) || defined(__ARM_EABI__)
+#elif defined(__AVR__) || defined(__lm32__) || defined(__m32c__) || defined(__mips__) || defined(__moxie__) || defined(__PPC__) || defined(__sparc__) || defined(__sh__) || defined(__ARM_EABI__) \
+ || defined(__v850__) || defined(__v851__)
typedef signed int _ssize_t;
#define __ssize_t_defined 1
#else