diff options
Diffstat (limited to 'bits')
-rw-r--r-- | bits/typesizes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bits/typesizes.h b/bits/typesizes.h index 3fd4a2e067..09959f2b45 100644 --- a/bits/typesizes.h +++ b/bits/typesizes.h @@ -61,6 +61,13 @@ #define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE #define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE +#ifdef __LP64__ +/* Tell the libc code that off_t and off64_t are actually the same type + for all ABI purposes, even if possibly expressed as different base types + for C type-checking purposes. */ +# define __OFF_T_MATCHES_OFF64_T 1 +#endif + /* Number of descriptors that can fit in an `fd_set'. */ #define __FD_SETSIZE 1024 |