SKN Miner Windows build of ccminer-verus (cross-compiled via MinGW-w64)
=========================================================================
Base: https://github.com/Oink70/ccminer-verus (GPLv2, see per-file headers)

There is no official Windows binary release from upstream (only Linux and
ARM releases exist), so this was cross-compiled from Linux using
MinGW-w64, statically linked against locally-built OpenSSL 3.0.15,
curl 8.10.1, jansson 2.14 and zlib 1.3.1 (none of which are modified,
not redistributed here - fetch upstream release tarballs).

Patches applied for the MinGW cross-compile (none of this affects the
actual hashing/mining logic, only build-time portability issues):
- compat.h: guard the WIN32 sleep() shim behind #ifndef __MINGW32__
  (MinGW's own unistd.h already declares a real POSIX-ish sleep(),
  which conflicted with this MSVC-oriented stub)
- elist.h: list_entry() cast pointers through uintptr_t instead of
  `unsigned long` - on Win64 `unsigned long` is still 32-bit (LLP64),
  so the original cast silently truncated every pointer
- serialize.hpp: added a WIN32 branch for the htole/le*toh family
  (Windows has neither <endian.h> nor <libkern/OSByteOrder.h>); since
  the target is always little-endian x86_64, the le* conversions are
  plain identity and only the be* ones need an actual byteswap
- ccminer.cpp: fixed `#include <Mmsystem.h>` casing (MinGW's header is
  lowercase `mmsystem.h`; only matters on case-sensitive filesystems);
  added a no-op WIN32 affine_to_cpu(int) - only affine_to_cpu_mask()
  existed on that branch, but the (platform-generic) caller always
  calls affine_to_cpu(); replaced PTW32_VERSION_STRING (a pthreads4w
  macro that doesn't exist under MinGW's own winpthreads) with a
  literal string in the --version banner
- verus/verus_clhash.cpp: use __mingw_aligned_malloc directly instead
  of the _aligned_malloc macro - MinGW's malloc.h only declares
  _aligned_malloc when <xmmintrin.h> hasn't already been included,
  and verus_clhash.h pulls that in first via its AVX intrinsics, so
  the guard silently hid the declaration
- Makefile: -march=x86-64-v2 -maes -mavx -mpclmul instead of
  -march=native (matches exactly what VerusHash's optimized path
  already requires - a baseline covered by any x86_64 CPU from
  ~2013 onward - rather than whatever extra instruction sets happen
  to be on the specific build machine); -DCURL_STATICLIB (curl's
  headers assume dynamic linking otherwise); -lwinmm -lwldap32 added
  (needed by timeBeginPeriod() and curl's compiled-in Windows LDAP
  backend respectively); -static-libgcc -static-libstdc++ -static
  so the binary only depends on stock Windows system DLLs, not
  MinGW's own runtime DLLs
- util.cpp (gpulog): fixed upstream format-string bug that silently
  dropped the hashrate argument from periodic per-thread log lines

Verified against pool.sinarlink.com directly under Wine: 22/22 shares
accepted in a live test run before packaging.

This binary is spawned by the SKN Miner Electron app as a separate
subprocess (not statically linked into the app) and is unmodified in
behavior from upstream ccminer-verus aside from the portability fixes
above.
