From 03af952060fee063679864d82cdd76f94d56d263 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 6 Aug 2012 16:48:14 -0700 Subject: Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t. --- sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/unix/bsd/bsd4.4/freebsd') diff --git a/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h b/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h index 02c24e44c0..67d82e6e75 100644 --- a/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h +++ b/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h @@ -61,6 +61,11 @@ #define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE #define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE + +/* Tell the libc code that off_t and off64_t are actually the same type. */ +#define __OFF_T_MATCHES_OFF64_T 1 + + /* Number of descriptors that can fit in an `fd_set'. */ #define __FD_SETSIZE 1024 -- cgit 1.4.1