@ 260915.5

260804.1 · 8b661eb3d5ec3323bb88036318c7415fed80b6c9

MinGW portability fixes

- see also #553
- distinct OS_WIN versus OS_WIN_MINGW is necessary, since MinGW is almost windows but not quite, so most changes are for #ifdef checks with a few code blocks moved (no new logic)
- tested with MinGW-w64 UCRT64 with MSYS2 GCC 16.1
- updated verify.sh runs with 'make test' skips directory searches for MinGW, because of the lack of symlink support
- appease -Wunused

reading declarations

Changes to src/vkey.hpp. All files

src/vkey.hpp

@@ -192,7 +192,7 @@ Unicode code point entry:  #include "ugrep.hpp" -#ifdef OS_WIN+#ifdef OS_WIN_OR_MINGW  #ifdef ENABLE_VIRTUAL_TERMINAL_INPUT # define VKEY_WIN@@ -312,7 +312,7 @@ class VKey {   // translate ANSI escape sequences, FN, and DEL keys   static int ansi_esc(int ch); -#ifdef OS_WIN+#ifdef OS_WIN_OR_MINGW    // Windows console state   static HANDLE hConIn;