[PATCH, committed] RTEMS: Unconditionally define _off_t to int64_t

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Exotic RTEMS targets can define this back to int32_t as an exception if
there are good reasons.

Signed-off-by: Sebastian Huber <[email protected]>
---
 newlib/libc/sys/rtems/include/machine/_types.h | 4 ----
 1 file changed, 4 deletions(-)

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;
-- 
2.13.7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.