diff options
author | Joel Sherrill <joel@rtems.org> | 2020-10-27 14:07:08 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-10-28 09:45:21 -0500 |
commit | fcaaf40c9d2d6016334426b30086fecd8ecebfd0 (patch) | |
tree | 9f223508ef389336564a7da5d566139a34cd2832 /newlib | |
parent | 262de3ecf08e8981a2b2d5949a3d31c613a36b2b (diff) | |
download | newlib-fcaaf40c9d2d6016334426b30086fecd8ecebfd0.zip newlib-fcaaf40c9d2d6016334426b30086fecd8ecebfd0.tar.gz newlib-fcaaf40c9d2d6016334426b30086fecd8ecebfd0.tar.bz2 |
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.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/sys/rtems/include/machine/_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h index 8e2d9a3..5bbe5a5 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) */ |