Commit 2db5f19a by whitequark Committed by Eddie Hung

Add support for WASI platform in Util_SignalSystem.

parent 9366e4fa
...@@ -43,7 +43,11 @@ ABC_NAMESPACE_IMPL_START ...@@ -43,7 +43,11 @@ ABC_NAMESPACE_IMPL_START
int Util_SignalSystem(const char* cmd) int Util_SignalSystem(const char* cmd)
{ {
#if defined(__wasm)
return -1;
#else
return system(cmd); return system(cmd);
#endif
} }
int tmpFile(const char* prefix, const char* suffix, char** out_name); int tmpFile(const char* prefix, const char* suffix, char** out_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment