From aa0baa26c664919b10ef0b161faf02b4184bb84b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 8 Jul 2020 11:09:20 +0200 Subject: [PATCH] fix: missing define on some mingw --- client/src/proxmark3.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/proxmark3.c b/client/src/proxmark3.c index e0dafe480..1b790f946 100644 --- a/client/src/proxmark3.c +++ b/client/src/proxmark3.c @@ -727,6 +727,10 @@ static bool DetectWindowsAnsiSupport(void) { RegCloseKey(hKey); } +#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING +#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004 +#endif + HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE); DWORD dwMode = 0; GetConsoleMode(hOut, &dwMode);