mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 12:04:56 +02:00
Starting with version 13.x, the mingw headers will define the value of NTDDI_VERSION, based on the value of _WIN32_WINNT, if that version is < Windows 10. Given that libevent was undefining our _WIN32_WINNT, and redefining it to a value < Windows 10 (0x0501), NTDDI_VERSION was also being defined to that value, leading to functions not being exposed in the mingw-w64 headers; see here:9c2668ef77/mingw-w64-headers/include/iphlpapi.h (L36-L41)
. Imports a commit from usptream (a14ff91254f40cf36e0fee199e26fb11260fab49). Fixes #32707. Github-Pull: #32837 Rebased-From:f5647c6c5a