Browse Source

disable _POSIX_SPAWN define

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@gentoo.org>
Mike Frysinger 15 years ago
parent
commit
155bf12e23
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/common/bits/posix_opt.h

+ 2 - 0
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