From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1129) id 269383972038; Wed, 28 Oct 2020 14:46:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 269383972038 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joel Sherrill To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS X-Act-Checkin: newlib-cygwin X-Git-Author: Joel Sherrill X-Git-Refname: refs/heads/master X-Git-Oldrev: 262de3ecf08e8981a2b2d5949a3d31c613a36b2b X-Git-Newrev: fcaaf40c9d2d6016334426b30086fecd8ecebfd0 Message-Id: <20201028144611.269383972038@sourceware.org> Date: Wed, 28 Oct 2020 14:46:11 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2020 14:46:11 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fcaaf40c9d2d6016334426b30086fecd8ecebfd0 commit fcaaf40c9d2d6016334426b30086fecd8ecebfd0 Author: Joel Sherrill Date: Tue Oct 27 14:07:08 2020 -0500 libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS This type needs to be able to represent a position on a disk or file system. Diff: --- newlib/libc/sys/rtems/include/machine/_types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h index 8e2d9a3ef..5bbe5a5a6 100644 --- a/newlib/libc/sys/rtems/include/machine/_types.h +++ b/newlib/libc/sys/rtems/include/machine/_types.h @@ -30,6 +30,9 @@ typedef __uint64_t _CLOCK_T_; typedef int _CLOCKID_T_; #define __machine_clockid_t_defined +typedef __int64_t daddr_t; +#define __daddr_t_defined + typedef int __accmode_t; /* access permissions */ typedef __uint32_t __fixpt_t; /* fixed point number */ typedef int __lwpid_t; /* Thread ID (a.k.a. LWP) */