Merge pull request #132 from bitshares/jmj_win_ifndef

Add #ifndef for Windows
This commit is contained in:
Abit 2019-05-21 18:31:11 +02:00 committed by GitHub
commit 8176f39806
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,6 +228,7 @@ static int cli_check_secret(const char *source)
*/
static int cli_quitting = false;
#ifndef WIN32
/**
* 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;
}
#endif
void cli::start()
{