mirror of https://github.com/YosysHQ/abc.git
Add support for WASI platform in Util_SignalSystem.
This commit is contained in:
parent
9366e4fa68
commit
2db5f19ab6
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue