@ 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 lzma/C/viizip.h. All files

lzma/C/viizip.h

@@ -37,7 +37,7 @@ #ifndef VIIZIP_H #define VIIZIP_H -// check if we are compiling for a windows OS, but not Cygwin or MinGW+/* check if we are compiling for a windows OS, but not Cygwin or MinGW */ #if !defined(OS_WIN) && (defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(__BORLANDC__)) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__MINGW64__) # define OS_WIN #endif