summaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2016-10-01 17:55:37 +0200
committerMarcel Raad <raad@teamviewer.com>2016-10-16 12:09:12 +0200
commit422db18f15925b8ad7983329ca08041049783071 (patch)
treea8d0675abc5c8b0daf8e92c2285f6a607d41058f /lib/connect.c
parent4ddc772b30db523742178c194b605572a0835698 (diff)
downloadcurl-422db18f15925b8ad7983329ca08041049783071.tar.gz
win: fix Universal Windows Platform build
This fixes a merge error in commit 7f3df80 caused by commit 332e8d6. Additionally, this changes Curl_verify_windows_version for Windows App builds to assume to always be running on the target Windows version. There seems to be no way to determine the Windows version from a UWP app. Neither GetVersion(Ex), nor VerifyVersionInfo, nor the Version Helper functions are supported. Bug: https://github.com/curl/curl/pull/820#issuecomment-250889878 Reported-by: Paul Joyce Closes https://github.com/curl/curl/pull/1048
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 3225d70cf..e2b34eb6a 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -130,9 +130,6 @@ 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);