Procházet zdrojové kódy

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 před 16 roky
rodič
revize
155bf12e23
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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