mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
dont hook signal in MINGW environments like proxspace
This commit is contained in:
parent
9b8cf1e323
commit
befb2644d2
1 changed files with 6 additions and 0 deletions
|
@ -161,7 +161,13 @@ void pm3line_init(void) {
|
|||
using_history();
|
||||
rl_readline_name = "PM3";
|
||||
rl_attempted_completion_function = rl_command_completion;
|
||||
|
||||
// don't hook signal in MINGW
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
#else
|
||||
rl_getc_function = getc;
|
||||
#endif
|
||||
|
||||
pm3line_install_signals();
|
||||
|
||||
#ifdef RL_STATE_READCMD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue