@ 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/query.hpp. All files

src/query.hpp

@@ -187,7 +187,7 @@ class Query {    static void redraw(); -#ifdef OS_WIN+#ifdef OS_WIN_OR_MINGW    static BOOL WINAPI sigint(DWORD); @@ -336,7 +336,7 @@ class Query {   static size_t                   fuzzy_;       // saved --fuzzy fuzzy distance   static bool                     dotall_;      // saved --dotall flag -#ifdef OS_WIN+#ifdef OS_WIN_OR_MINGW    static HANDLE                   hPipe_;   static OVERLAPPED               overlapped_;