win: Basic support for Universal Windows Platform apps

Closes #820
This commit is contained in:
Marco Deckel 2016-08-21 13:44:33 +02:00 committed by Daniel Stenberg
parent a78c61a4bf
commit 7f3df80408
4 changed files with 16 additions and 2 deletions

View file

@ -130,6 +130,9 @@ tcpkeepalive(struct Curl_easy *data,
infof(data, "Failed to set SIO_KEEPALIVE_VALS on fd %d: %d\n",
(int)sockfd, WSAGetLastError());
}
#elif defined(CURL_WINDOWS_APP)
(void)majorVersion;
detectOsState = DETECT_OS_VISTA_OR_LATER;
#else
#ifdef TCP_KEEPIDLE
optval = curlx_sltosi(data->set.tcp_keepidle);