From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80885 invoked by alias); 20 Jul 2018 04:55:22 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 80831 invoked by uid 10080); 20 Jul 2018 04:55:21 -0000 Date: Fri, 20 Jul 2018 04:55:00 -0000 Message-ID: <20180720045521.80828.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] RTEMS: Unconditionally define _off_t to int64_t X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: edc4f87311428b210bbf7560a6ddaf5a06d9e7d0 X-Git-Newrev: 916ef5fb8865f72d0f5ad3f4f479adac44ea94b1 X-SW-Source: 2018-q3/txt/msg00018.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;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 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;