mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Don't use vfork() on XNU (#426)
This commit is contained in:
parent
1235ad6006
commit
2415afab0e
2 changed files with 5 additions and 1 deletions
|
@ -44,6 +44,10 @@ vfork:
|
|||
testb IsWindows()
|
||||
jnz sys_fork_nt # and we're lucky to have that
|
||||
#endif
|
||||
#if SupportsXnu()
|
||||
testb IsXnu()
|
||||
jnz fork
|
||||
#endif
|
||||
#if SupportsOpenbsd()
|
||||
testb IsOpenbsd()
|
||||
jnz fork # fake vfork plus msyscall issues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue