summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-07-30 12:51:01 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-07-30 12:51:01 +0200
commit581203ebad402d1b2ed64c8ba67cc93273527a57 (patch)
tree021816f72495b9cd870abed73cda53091ec84adb /libpthread/nptl/sysdeps/unix/sysv/linux
parenta969b3f3c08eb1f681328293472c51e4a8ce5b4f (diff)
nptl: fix LFS handling
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h4
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 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