From 74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 27 Nov 2016 22:31:25 +0100 Subject: remove UCLIBC_HAS_LFS --- libc/sysdeps/linux/common/ftruncate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/ftruncate.c') diff --git a/libc/sysdeps/linux/common/ftruncate.c b/libc/sysdeps/linux/common/ftruncate.c index 96076e449..8637ee830 100644 --- a/libc/sysdeps/linux/common/ftruncate.c +++ b/libc/sysdeps/linux/common/ftruncate.c @@ -15,10 +15,10 @@ # include int ftruncate(int fd, __off_t length) { -# if defined __UCLIBC_HAS_LFS__ - return ftruncate64(fd, length); -# elif __WORDSIZE == 32 +# if __WORDSIZE == 32 return INLINE_SYSCALL(ftruncate64, 3, fd, OFF_HI_LO(length)); +# else + return ftruncate64(fd, length); # endif } libc_hidden_def(ftruncate); -- cgit v1.2.3