public inbox for
help / color / mirror / Atom feed
* [newlib-cygwin] RTEMS: Unconditionally define _off_t to int64_t
@ 2018-07-20  4:55 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2018-07-20  4:55 UTC (permalink / raw)
  To: newlib-cvs;h=916ef5fb8865f72d0f5ad3f4f479adac44ea94b1

commit 916ef5fb8865f72d0f5ad3f4f479adac44ea94b1
Author: Sebastian Huber <>
Date:   Thu Jul 19 15:30:18 2018 +0200

    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 <>

 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 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;
-typedef	__int32_t	_off_t;
 #define	__machine_off_t_defined
 typedef	_off_t		_fpos_t;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-20  4:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-20  4:55 [newlib-cygwin] RTEMS: Unconditionally define _off_t to int64_t Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).