fix SKIPREADLINE compilation err
This commit is contained in:
committed by
iceman1001
parent
a29a64f3ed
commit
147edf9993
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user