fix SKIPREADLINE compilation err

This commit is contained in:
Philippe Teuwen
2020-08-13 09:49:29 +02:00
committed by iceman1001
parent a29a64f3ed
commit 147edf9993
+1 -4
View File
@@ -139,17 +139,14 @@ static int check_comm(void) {
msleep(10);
return 0;
}
static void flush_history(void) {
#ifdef HAVE_READLINE
static void flush_history(void) {
if (session.history_path) {
write_history(session.history_path);
free(session.history_path);
}
#endif
}
#ifdef HAVE_READLINE
# if defined(_WIN32)
/*
static bool WINAPI terminate_handler(DWORD t) {