mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
fix SKIPREADLINE compilation err
This commit is contained in:
parent
27553ba34a
commit
85fd28eb2c
|
@ -139,17 +139,14 @@ static int check_comm(void) {
|
||||||
msleep(10);
|
msleep(10);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
static void flush_history(void) {
|
|
||||||
#ifdef HAVE_READLINE
|
#ifdef HAVE_READLINE
|
||||||
|
static void flush_history(void) {
|
||||||
if (session.history_path) {
|
if (session.history_path) {
|
||||||
write_history(session.history_path);
|
write_history(session.history_path);
|
||||||
free(session.history_path);
|
free(session.history_path);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_READLINE
|
|
||||||
|
|
||||||
# if defined(_WIN32)
|
# if defined(_WIN32)
|
||||||
/*
|
/*
|
||||||
static bool WINAPI terminate_handler(DWORD t) {
|
static bool WINAPI terminate_handler(DWORD t) {
|
||||||
|
|
Loading…
Reference in a new issue