[git commit nptl] disable _POSIX_SPAWN define

Mike Frysinger vapier at gentoo.org
Mon Nov 9 21:17:04 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=919782a4b021246b4abe2ba7382021366d86baaf
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

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>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 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