From 461b15acb422e5ac08c9f0ab0de5df3c0b32823b Mon Sep 17 00:00:00 2001 From: John Jones Date: Tue, 21 May 2019 07:11:17 -0500 Subject: [PATCH] Add #ifndef for Windows --- src/rpc/cli.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index 049c8bd..7f324dc 100644 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -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() {