diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:31:25 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:32:11 +0100 |
commit | 74ca8d6f5d2e29bb7cf4606531313ee8c52b9eda (patch) | |
tree | b2e5ad49c4499ca7c21a92e4d4c3e3aced7cb524 /libc/sysdeps/linux/common/truncate.c | |
parent | d9f4c6bb0568da6d80f60a0040354f45478f84a3 (diff) |
remove UCLIBC_HAS_LFS
Diffstat (limited to 'libc/sysdeps/linux/common/truncate.c')
-rw-r--r-- | libc/sysdeps/linux/common/truncate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/truncate.c b/libc/sysdeps/linux/common/truncate.c index 5cbf67351..48514c2a4 100644 --- a/libc/sysdeps/linux/common/truncate.c +++ b/libc/sysdeps/linux/common/truncate.c @@ -16,14 +16,14 @@ int truncate(const char *path, __off_t length) { -# if defined __UCLIBC_HAS_LFS - return truncate64(path, length); -# elif __WORDSIZE == 32 +# if __WORDSIZE == 32 # if defined(__UCLIBC_SYSCALL_ALIGN_64BIT__) return INLINE_SYSCALL(truncate64, 4, path, 0, OFF_HI_LO(length)); # else return INLINE_SYSCALL(truncate64, 3, path, OFF_HI_LO(length)); # endif +# else + return truncate64(path, length); # endif } libc_hidden_def(truncate); |