瀏覽代碼

nptl: do not define _POSIX_SPAWN since its not implemented

Building things like vlc checks if _POSIX_SPAWN is defined. Since
posix_spawn is not implemented we dont define it.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Natanael Copa 15 年之前
父節點
當前提交
a969b3f3c0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h

+ 2 - 0
libpthread/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h

@@ -143,8 +143,10 @@
 /* We support spinlocks.  */
 #define _POSIX_SPIN_LOCKS	200809L
 
+#if 0
 /* The `spawn' function family is supported.  */
 #define _POSIX_SPAWN	200809L
+#endif
 
 /* We have POSIX timers.  */
 #define _POSIX_TIMERS	200809L