diff options
Diffstat (limited to 'libpthread/nptl')
-rw-r--r-- | libpthread/nptl/sem_open.c | 10 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 4 |
2 files changed, 2 insertions, 12 deletions
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 |