[git commit master 1/1] nptl: do not define _POSIX_SPAWN since its not implemented

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jul 30 08:21:45 UTC 2010


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

Building things like vlc checks if _POSIX_SPAWN is defined. Since
posix_spawn is not implemented we dont define it.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
 .../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h  |    2 ++
 1 files changed, 2 insertions(+), 0 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 2550355..6fbdbb7 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -143,8 +143,10 @@
 /* We support spinlocks.  */
 #define _POSIX_SPIN_LOCKS	200809L
 
+#if 0
 /* The `spawn' function family is supported.  */
 #define _POSIX_SPAWN	200809L
+#endif
 
 /* We have POSIX timers.  */
 #define _POSIX_TIMERS	200809L
-- 
1.7.1



More information about the uClibc-cvs mailing list