Change #255437
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Sat 17 Jan 2026 11:41:49 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | b17ef873ae2151263667f4b6fb6abfe337e687dc |
Comments
windows: bump minimum to Vista (from XP) After this patch curl requires targeting Vista or newer, and a toolchain with Vista support. Supported MSVC compilers (VS2010+) all support Vista: - VS2012+ target Win8 (or later) by default. - VS2010 targets Win7 by default. Supported mingw-w64 versions (v3+) all support Vista: - mingw-w64 v9+ target Win10 by default. - mingw-w64 v8 and older target Server 2003 (~XP) by default. After this patch it may be necessary to override the default Windows target version to Vista (or newer) via: autotools: `CPPFLAGS=-D_WIN32_WINNT=0x0600` cmake: `-DCURL_TARGET_WINDOWS_VERSION=0x0600` - mingw-w64 v6+ allow changing the default at toolchain build-time. Notes: - For non-MSVC, non-mingw-w64 toolchains, `if_nametoindex` needs to be allowlisted in `curl_setup.h`, if they do support it. Fixes #17985 (discussion) Closes #18009
Changed files
- .github/workflows/windows.yml
- CMakeLists.txt
- appveyor.sh
- appveyor.yml
- configure.ac
- docs/DEPRECATE.md
- docs/INSTALL.md
- docs/INTERNALS.md
- docs/examples/block_ip.c
- lib/cf-socket.c
- lib/cf-socket.h
- lib/config-win32.h
- lib/curl_setup.h
- lib/curl_threads.h
- lib/curlx/timeval.c
- lib/easy_lock.h
- lib/ftp.c
- lib/idn.c
- lib/rand.c
- lib/setup-win32.h
- lib/sha256.c
- lib/system_win32.c
- lib/system_win32.h
- lib/url.c
- lib/vtls/schannel.c
- projects/Windows/tmpl/curl.vcxproj
- projects/Windows/tmpl/libcurl.vcxproj