소스 검색

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