From 581203ebad402d1b2ed64c8ba67cc93273527a57 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 30 Jul 2010 12:51:01 +0200 Subject: nptl: fix LFS handling Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux') 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 6fbdbb704..a3605c935 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -114,10 +114,12 @@ /* 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 @@ -143,7 +145,7 @@ /* We support spinlocks. */ #define _POSIX_SPIN_LOCKS 200809L -#if 0 +#if 0 /* no support in uClibc (yet) */ /* The `spawn' function family is supported. */ #define _POSIX_SPAWN 200809L #endif -- cgit v1.2.3