public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Sebastian Huber <sh@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] RTEMS: Unconditionally define _off_t to int64_t Date: Fri, 20 Jul 2018 04:55:00 -0000 [thread overview] Message-ID: <20180720045521.80828.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=916ef5fb8865f72d0f5ad3f4f479adac44ea94b1 commit 916ef5fb8865f72d0f5ad3f4f479adac44ea94b1 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> 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 <sebastian.huber@embedded-brains.de> Diff: --- 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; -#else -typedef __int32_t _off_t; -#endif #define __machine_off_t_defined typedef _off_t _fpos_t;
reply other threads:[~2018-07-20 4:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180720045521.80828.qmail@sourceware.org \ --to=sh@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).