Don't use vfork() on XNU (#426)

This commit is contained in:
Justine Tunney 2022-06-23 01:18:47 -07:00
parent 1235ad6006
commit 2415afab0e
2 changed files with 5 additions and 1 deletions

View file

@ -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