curl-library
Re: LIbcurl 7.19.3. header incorrectly excludes Windows 2000 as a VS2008 target
Date: Tue, 17 Feb 2009 18:24:40 +0100
2009/2/16, Mark Incley wrote:
> I've noticed that the libcurl Windows header file config-win32.h incorrectly
> excludes Windows 2000 as a Visual Studio 2008 build target. VS2008 does
> actually produce EXEs that run on Windows 2000 and later:
>
> http://msdn.microsoft.com/en-us/library/bb531344.aspx
That's curious, initially VS2008 did not claim Windows 2000 target capability.
> Unless there's another reason Windows 2000 has been excluded, the easy fix
> is of course to modify the following block in config-win32.h as below:
What really puzzles me is that the Windows SDK does not support
Windows 2000 targets, and VS2008 includes Windows SDK v6.0a. So, who's
right Microsoft's Windows SDK Team, or the MSDN page above?
> As of 7.19.3:
> # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501)
> # error VS2008 does not support Windows build targets prior to WinXP
> # endif
>
> Should be:
> # if (_WIN32_WINNT < 0x0500) || (WINVER < 0x0500)
> # error VS2008 does not support Windows build targets prior to Win2000
> # endif
>
> Having made this change, libcurl is running fine under Win2000 with binaries
> built by VS2008.
For curiosity sake. With which capabilities have you built/tested
libcurl in this way? Have you tried enabling ldap and IPv6?
-- -=[Yang]=-Received on 2009-02-17