From d2671340a613da407613b4f157a5552b291b7c26 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 17 Jan 2014 22:33:44 +0000 Subject: win32: Corrected the preprocessor check for Version Helper API Following some auto build failures after commit c7a76bb056f31e changed the preprocessor check to use _WIN32_WINNT. --- lib/curl_sspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/curl_sspi.c') diff --git a/lib/curl_sspi.c b/lib/curl_sspi.c index 5a48e4943..1cc18877f 100644 --- a/lib/curl_sspi.c +++ b/lib/curl_sspi.c @@ -79,7 +79,7 @@ CURLcode Curl_sspi_global_init(void) DWORD majorVersion = 4; DWORD platformId = VER_PLATFORM_WIN32_NT; -#if !defined(VerifyVersionInfo) +#if (_WIN32_WINNT < _WIN32_WINNT_WIN2K) OSVERSIONINFO osver; memset(&osver, 0, sizeof(osver)); -- cgit v1.2.3