mirror of
https://github.com/curl/curl.git
synced 2026-07-14 07:37:16 +03:00
externalsocket: use WinSock 2.2
That's the only version we support. Closes https://github.com/curl/curl/pull/7778
This commit is contained in:
parent
c2ea04f92b
commit
7a0c160473
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ int main(void)
|
|||
|
||||
#ifdef WIN32
|
||||
WSADATA wsaData;
|
||||
int initwsa = WSAStartup(MAKEWORD(2, 0), &wsaData);
|
||||
int initwsa = WSAStartup(MAKEWORD(2, 2), &wsaData);
|
||||
if(initwsa) {
|
||||
printf("WSAStartup failed: %d\n", initwsa);
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue