[git commit master 1/1] nptl: fix LFS handling

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jul 30 10:51:01 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=581203ebad402d1b2ed64c8ba67cc93273527a57
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 .../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h  |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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 6fbdbb7..a3605c9 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
-- 
1.7.1



More information about the uClibc-cvs mailing list