aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_sspi.c')
-rw-r--r--lib/curl_sspi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_sspi.c b/lib/curl_sspi.c
index 1cc18877f..bb41a879c 100644
--- a/lib/curl_sspi.c
+++ b/lib/curl_sspi.c
@@ -79,7 +79,8 @@ CURLcode Curl_sspi_global_init(void)
DWORD majorVersion = 4;
DWORD platformId = VER_PLATFORM_WIN32_NT;
-#if (_WIN32_WINNT < _WIN32_WINNT_WIN2K)
+#if !defined(_WIN32_WINNT) || !defined(_WIN32_WINNT_WIN2K) || \
+ (_WIN32_WINNT < _WIN32_WINNT_WIN2K)
OSVERSIONINFO osver;
memset(&osver, 0, sizeof(osver));