Temporary fix for missing definitions for initialize_console_io and restore_console_io.

This commit is contained in:
David Betz 2015-04-08 20:59:22 -04:00
parent 7486a4834e
commit 86c67c1cf9
1 changed files with 5 additions and 3 deletions

View File

@ -93,7 +93,8 @@ void gdb(void);
void spinsim_exit(int32_t exitcode)
{
restore_console_io();
// dbetz: not defined for Windows and a nop for anything else
// restore_console_io();
exit(exitcode);
}
@ -889,14 +890,15 @@ int main(int argc, char **argv)
if (!fname && !gdbmode && !eeprom) usage();
RebootProp();
initialize_console_io();
// dbetz: not defined for Windows and a nop for anything else
// initialize_console_io();
if (gdbmode)
gdb();
else if (debugmode)
Debug();
else
RunProp(maxloops);
restore_console_io();
// restore_console_io();
if (eeprom) EEPromClose();
if (profile) PrintStats();
return 0;