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/mips | |
parent | d9f4c6bb0568da6d80f60a0040354f45478f84a3 (diff) |
remove UCLIBC_HAS_LFS
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r-- | libc/sysdeps/linux/mips/Makefile.arch | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/posix_fadvise.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/Makefile.arch b/libc/sysdeps/linux/mips/Makefile.arch index 844bc2b24..10deedc3e 100644 --- a/libc/sysdeps/linux/mips/Makefile.arch +++ b/libc/sysdeps/linux/mips/Makefile.arch @@ -12,8 +12,7 @@ CSRC-y := \ SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S CSRC-$(UCLIBC_LINUX_SPECIFIC) += cacheflush.c sysmips.c -CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise.c -CSRC-$(if $(findstring yy,$(UCLIBC_HAS_LFS)$(UCLIBC_HAS_ADVANCED_REALTIME)),y) += posix_fadvise64.c +CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise.c posix_fadvise64.c SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += vfork.S clone.S SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S \ swapcontext.S diff --git a/libc/sysdeps/linux/mips/posix_fadvise.c b/libc/sysdeps/linux/mips/posix_fadvise.c index b0110bfb2..ea71ac0be 100644 --- a/libc/sysdeps/linux/mips/posix_fadvise.c +++ b/libc/sysdeps/linux/mips/posix_fadvise.c @@ -31,7 +31,7 @@ int posix_fadvise(int fd, off_t offset, off_t len, int advice) return INTERNAL_SYSCALL_ERRNO (ret, err); return 0; } -# if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64 +# if __WORDSIZE == 64 strong_alias(posix_fadvise,posix_fadvise64) # endif |