Add support for WASI platform in Util_SignalSystem.

This commit is contained in:
whitequark 2020-04-30 17:12:47 +00:00 committed by Eddie Hung
parent 9366e4fa68
commit 2db5f19ab6
1 changed files with 4 additions and 0 deletions

View File

@ -43,7 +43,11 @@ ABC_NAMESPACE_IMPL_START
int Util_SignalSystem(const char* cmd)
{
#if defined(__wasm)
return -1;
#else
return system(cmd);
#endif
}
int tmpFile(const char* prefix, const char* suffix, char** out_name);