mirror of
https://github.com/curl/curl.git
synced 2026-08-02 16:20:28 +03:00
windows: document toolchain support for some macros
The oldest MS SDK I checked is 6.0A (VS2008). Versions are approximate beyond 7.1A. I only have two Win10 SDKs to verify: 10.0.16299.0 (VS2017-15.4) and 10.0.22621.0 (VS2022). Ref: https://en.wikipedia.org/wiki/Microsoft_Windows_SDK Ref: https://developer.microsoft.com/windows/downloads/sdk-archive/index-legacy (recent versions mostly) Closes #18085
This commit is contained in:
parent
08acef2aab
commit
3bfcfe82b9
8 changed files with 18 additions and 3 deletions
|
|
@ -164,6 +164,7 @@ static void nosigpipe(struct Curl_easy *data,
|
|||
#define KEEPALIVE_FACTOR(x)
|
||||
#endif
|
||||
|
||||
/* Offered by mingw-w64 and MS SDK. Latter only when targeting Win7+. */
|
||||
#if defined(USE_WINSOCK) && !defined(SIO_KEEPALIVE_VALS)
|
||||
#define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR,4)
|
||||
|
||||
|
|
@ -1406,6 +1407,7 @@ static void cf_socket_adjust_pollset(struct Curl_cfilter *cf,
|
|||
|
||||
#ifdef USE_WINSOCK
|
||||
|
||||
/* Offered by mingw-w64 v13+. MS SDK 7.0A+. */
|
||||
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
|
||||
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue