diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-19 15:30:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-20 06:53:21 +0200 |
commit | 916ef5fb8865f72d0f5ad3f4f479adac44ea94b1 (patch) | |
tree | fdad55cfdeb7dca9275ee4e2f4b4a855c97171ac | |
parent | edc4f87311428b210bbf7560a6ddaf5a06d9e7d0 (diff) | |
download | newlib-916ef5fb8865f72d0f5ad3f4f479adac44ea94b1.zip newlib-916ef5fb8865f72d0f5ad3f4f479adac44ea94b1.tar.gz newlib-916ef5fb8865f72d0f5ad3f4f479adac44ea94b1.tar.bz2 |
RTEMS: Unconditionally define _off_t to int64_t
Exotic RTEMS targets can define this back to int32_t as an exception if
there are good reasons.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
-rw-r--r-- | newlib/libc/sys/rtems/include/machine/_types.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h index a3144e8..c61d657 100644 --- a/newlib/libc/sys/rtems/include/machine/_types.h +++ b/newlib/libc/sys/rtems/include/machine/_types.h @@ -12,11 +12,7 @@ typedef __int32_t __blksize_t; typedef __uint64_t __dev_t; #define __machine_dev_t_defined -#if defined(__arm__) || defined(__i386__) || defined(__m68k__) || defined(__mips__) || defined(__PPC__) || defined(__sparc__) typedef __int64_t _off_t; -#else -typedef __int32_t _off_t; -#endif #define __machine_off_t_defined typedef _off_t _fpos_t; |