mirror of https://github.com/YosysHQ/abc.git
Add support for WASI platform in Gia_ManGnuplotShow.
This commit is contained in:
parent
eea20ff466
commit
70ed4da2ac
|
|
@ -2175,7 +2175,11 @@ void Gia_ManGnuplotShow( char * pPlotFileName )
|
|||
{
|
||||
char Command[1000];
|
||||
sprintf( Command, "%s %s ", pProgNameGnuplot, pPlotFileName );
|
||||
#if defined(__wasm)
|
||||
if ( 1 )
|
||||
#else
|
||||
if ( system( Command ) == -1 )
|
||||
#endif
|
||||
{
|
||||
fprintf( stdout, "Cannot execute \"%s\".\n", Command );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue