mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08: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
@ -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…
x
Reference in New Issue
Block a user