浏览代码

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>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Mike Frysinger 16 年之前
父节点
当前提交
252e46814b
共有 1 个文件被更改,包括 2 次插入0 次删除
  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