mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
This will prevent Universal Windows Platform (UWP) targeting Windows 10+ to fail. Some UWP API's that are XP/Vista/7 API's are not available in Windows 8 but available in Windows 10. So if Windows 10 is targetting we should not pretend to build for Windows Vista (0x0600). If the user didn't set a _WIN32_WINNT value, the Windows SDK/mingw-w64 have a default value that will be used. We can use sdkddkver.h to get that value. If the default value is Windows 10 we should not lower it either.