win32: Corrected the preprocessor check for Version Helper API
Following some auto build failures after commit c7a76bb056
changed
the preprocessor check to use _WIN32_WINNT.
This commit is contained in:
parent
ecaf2f02f1
commit
d2671340a6
@ -921,7 +921,7 @@ void Curl_sndbufset(curl_socket_t sockfd)
|
||||
static int detectOsState = DETECT_OS_NONE;
|
||||
|
||||
if(detectOsState == DETECT_OS_NONE) {
|
||||
#if !defined(VerifyVersionInfo)
|
||||
#if (_WIN32_WINNT < _WIN32_WINNT_WIN2K)
|
||||
OSVERSIONINFO osver;
|
||||
|
||||
memset(&osver, 0, sizeof(osver));
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user