]> sourceware.org Git - newlib-cygwin.git/commitdiff
libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS
authorJoel Sherrill <joel@rtems.org>
Tue, 27 Oct 2020 19:07:08 +0000 (14:07 -0500)
committerJoel Sherrill <joel@rtems.org>
Wed, 28 Oct 2020 14:45:21 +0000 (09:45 -0500)
This type needs to be able to represent a position on a disk or
file system.

newlib/libc/sys/rtems/include/machine/_types.h

index 8e2d9a3ef0edb3be05c835a50e2ce1a5bd31ea51..5bbe5a5a66e53a001dba8ee9d57d537d51f0098b 100644 (file)
@@ -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) */
This page took 0.031604 seconds and 5 git commands to generate.