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 --- libpthread/nptl/sem_open.c | 10 ++-------- libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 4 ---- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'libpthread/nptl') diff --git a/libpthread/nptl/sem_open.c b/libpthread/nptl/sem_open.c index 5584557ff..d811ec503 100644 --- a/libpthread/nptl/sem_open.c +++ b/libpthread/nptl/sem_open.c @@ -42,14 +42,8 @@ #define __setmntent setmntent #define __statfs statfs #define __libc_close close -#ifdef __UCLIBC_HAS_LFS__ -# define __libc_open open64 -# define __fxstat64(vers, fd, buf) fstat64(fd, buf) -#else -# define __libc_open open -# define __fxstat64(vers, fd, buf) fstat(fd, buf) -# define stat64 stat -#endif +#define __libc_open open64 +#define __fxstat64(vers, fd, buf) fstat64(fd, buf) #define __libc_write write diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h index c92bd7246..2f4b16bce 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -114,13 +114,9 @@ /* The LFS support in asynchronous I/O is also available. */ #define _LFS64_ASYNCHRONOUS_IO 1 - -#ifdef __UCLIBC_HAS_LFS__ -/* The rest of the LFS is also available. */ #define _LFS_LARGEFILE 1 #define _LFS64_LARGEFILE 1 #define _LFS64_STDIO 1 -#endif /* POSIX shared memory objects are implemented. */ #define _POSIX_SHARED_MEMORY_OBJECTS 200809L -- cgit v1.2.3