mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:23:36 +03:00
lib: remove HAVE_WINSOCK_H usage
WinSock v1 is not supported anymore. Exclusively use `HAVE_WINSOCK2_H` instead. Closes https://github.com/curl/curl/pull/7795
This commit is contained in:
parent
f53b89314d
commit
0259e8c35f
3 changed files with 3 additions and 12 deletions
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
static bool verifyconnect(curl_socket_t sockfd, int *error);
|
||||
|
||||
#if defined(__DragonFly__) || defined(HAVE_WINSOCK_H)
|
||||
#if defined(__DragonFly__) || defined(HAVE_WINSOCK2_H)
|
||||
/* DragonFlyBSD and Windows use millisecond units */
|
||||
#define KEEPALIVE_FACTOR(x) (x *= 1000)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue