explicitly disable spawn on wasm
This commit is contained in:
parent
61a0842864
commit
502197b62f
@ -758,7 +758,7 @@ B fromUtf8_c1(B t, B x) {
|
|||||||
|
|
||||||
extern char** environ;
|
extern char** environ;
|
||||||
|
|
||||||
#if __has_include(<spawn.h>) && __has_include(<sys/wait.h>)
|
#if __has_include(<spawn.h>) && __has_include(<sys/wait.h>) && !WASM
|
||||||
#include <spawn.h>
|
#include <spawn.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user