[committed] RTEMS: Unconditionally define _off_t to int64_t

Message ID 20180720045557.16754-1-sebastian.huber@embedded-brains.de
State Accepted
Commit 916ef5fb8865f72d0f5ad3f4f479adac44ea94b1
Headers show
Series
  • [committed] RTEMS: Unconditionally define _off_t to int64_t
Related show

Commit Message

Sebastian Huber July 20, 2018, 4:55 a.m.
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>

---
 newlib/libc/sys/rtems/include/machine/_types.h | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.13.7

Patch

diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index a3144e8fd..c61d6575d 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;