Add #ifndef for Windows

This commit is contained in:
John Jones 2019-05-21 07:11:17 -05:00
parent 6bee7ff30b
commit 461b15acb4

View file

@ -228,6 +228,7 @@ static int cli_check_secret(const char *source)
*/ */
static int cli_quitting = false; static int cli_quitting = false;
#ifndef WIN32
/** /**
* Get next character from stdin, or EOF if got a SIGINT signal * Get next character from stdin, or EOF if got a SIGINT signal
*/ */
@ -246,6 +247,7 @@ static int interruptible_getc(void)
return r == 1 && !cli_quitting ? c : EOF; return r == 1 && !cli_quitting ? c : EOF;
} }
#endif
void cli::start() void cli::start()
{ {