cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [Bulk] RE: Win32 use of GetVersionEx()

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Fri, 17 Jan 2014 20:01:51 +0000

On Fri, 17 Jan 2014, Gisle Vanem wrote:

> For those functions to work, -D_WIN32_WINNT must be >=
> _WIN32_WINNT_WIN2K.

Cheers Gisle... Can I simply change my current pre-processor check from:

#if !defined(VerifyVersionInfo)

To:

#if (_WIN32_WINNT < _WIN32_WINNT_WIN2K)

Or do I need something a little more complicated where I check that
_WIN32_WINNT and _WIN32_WINNT_WIN2K are defined as well?

Cheers

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-17