Minor portability fixes from Alan Feldstein.

This commit is contained in:
Stephen Williams 2009-08-21 15:35:44 -07:00
parent c88583264c
commit 95a0face2b
1 changed files with 7 additions and 2 deletions

View File

@ -311,12 +311,17 @@ static int t_default(char*cmd, unsigned ncmd)
}
free( original_cmd );
#ifdef __MINGW32__
strcat( cmd, ">%TMP%\\ivlpp_stdout" );
#else
strcat( cmd, ">/tmp/ivlpp_stdout" );
#endif
#endif
if (verbose_flag)
if (verbose_flag) {
printf("translate: %s\n", cmd);
fflush(stdout);
}
rc = system(cmd);
#ifdef DEBUG