summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/system_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/system_win32.c')
-rw-r--r--libs/libcurl/src/system_win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libcurl/src/system_win32.c b/libs/libcurl/src/system_win32.c
index 2939fd0d74..d4e194831f 100644
--- a/libs/libcurl/src/system_win32.c
+++ b/libs/libcurl/src/system_win32.c
@@ -102,6 +102,8 @@ CURLcode Curl_win32_init(long flags)
Curl_if_nametoindex = pIfNameToIndex;
}
+ /* curlx_verify_windows_version must be called during init at least once
+ because it has its own initialization routine. */
if(curlx_verify_windows_version(6, 0, PLATFORM_WINNT,
VERSION_GREATER_THAN_EQUAL)) {
Curl_isVistaOrGreater = TRUE;