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/pread_write.c | |
parent | d9f4c6bb0568da6d80f60a0040354f45478f84a3 (diff) |
remove UCLIBC_HAS_LFS
Diffstat (limited to 'libc/sysdeps/linux/common/pread_write.c')
-rw-r--r-- | libc/sysdeps/linux/common/pread_write.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c index d0abd90e4..cb2e325e9 100644 --- a/libc/sysdeps/linux/common/pread_write.c +++ b/libc/sysdeps/linux/common/pread_write.c @@ -86,8 +86,7 @@ static ssize_t __NC(pwrite)(int fd, const void *buf, size_t count, off_t offset) CANCELLABLE_SYSCALL(ssize_t, pwrite, (int fd, const void *buf, size_t count, off_t offset), (fd, buf, count, offset)) -#ifdef __UCLIBC_HAS_LFS__ -# if __WORDSIZE == 32 +#if __WORDSIZE == 32 static ssize_t __NC(pread64)(int fd, void *buf, size_t count, off64_t offset) { return MY_PREAD64(fd, buf, count, offset); @@ -101,15 +100,14 @@ static ssize_t __NC(pwrite64)(int fd, const void *buf, size_t count, off64_t off } CANCELLABLE_SYSCALL(ssize_t, pwrite64, (int fd, const void *buf, size_t count, off64_t offset), (fd, buf, count, offset)) -# else -# ifdef __UCLIBC_HAS_LINUXTHREADS__ +#else +# ifdef __UCLIBC_HAS_LINUXTHREADS__ weak_alias(pread,pread64) weak_alias(pwrite,pwrite64) lt_strong_alias(pread64) lt_strong_alias(pwrite64) -# else +# else strong_alias_untyped(pread,pread64) strong_alias_untyped(pwrite,pwrite64) -# endif # endif #endif |