curl-library
Re: LIbcurl 7.19.3. header incorrectly excludes Windows 2000 as a VS2008target
From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Mon, 16 Feb 2009 17:45:51 +0100
Date: Mon, 16 Feb 2009 17:45:51 +0100
"Mark Incley" <mark_at_cryptosol.com> wrote:
> Having made this change, libcurl is running fine under Win2000 with
> binaries built by VS2008.
Hm, maybe this has something to do with that getnameinfo()
and getaddrinfo() are macros on _WIN32_WINNT <= 0x0500?
Look in your <ws2tcpip.h>:
// Unless the build environment is explicitly targeting only
// platforms that include built-in getaddrinfo() support, include
// the backwards-compatibility version of the relevant APIs.
//
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT <= 0x0500)
#include <wspiapi.h>
#endif
Yang Tse may have the details; he did the change.
--gv
Received on 2009-02-16