summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorMarco Deckel <marco.deckel@gmail.com>2016-08-21 13:44:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-21 13:56:22 +0200
commit7f3df8040858bc604b4b7ec9e6e3544e7184c9ca (patch)
treed9d6ef48c4249a45807cce4556b3ff67f6be9375 /lib/connect.c
parenta78c61a4bf5b7eb90b0945d94568b7b3b1f23c6e (diff)
downloadcurl-7f3df8040858bc604b4b7ec9e6e3544e7184c9ca.tar.gz
win: Basic support for Universal Windows Platform apps
Closes #820
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 0047f9a0b..7f8c0870a 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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);