[git commit nptl_merge] disable _POSIX_SPAWN define

Mike Frysinger vapier at gentoo.org
Sun Nov 22 08:37:56 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=155bf12e232ca9eb16f6f21a78163cbf556f294f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl_merge

We don't provide spawn.h let alone any other spawn funcs/types, so don't
set up the _POSIX_SPAWN define that some packages (like vlc) check.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 libc/sysdeps/linux/common/bits/posix_opt.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/posix_opt.h b/libc/sysdeps/linux/common/bits/posix_opt.h
index dfe259b..46d1697 100644
--- a/libc/sysdeps/linux/common/bits/posix_opt.h
+++ b/libc/sysdeps/linux/common/bits/posix_opt.h
@@ -128,7 +128,9 @@
 #define _POSIX_SPIN_LOCKS	200112L
 
 /* The `spawn' function family is supported.  */
+#if 0 /* no support in uClibc (yet) */
 #define _POSIX_SPAWN	200112L
+#endif
 
 /* We have POSIX timers.  */
 #define _POSIX_TIMERS	200112L
-- 
1.6.3.3



More information about the uClibc-cvs mailing list