cURL / Mailing Lists / curl-library / Single Mail

curl-library

LIbcurl 7.19.3. header incorrectly excludes Windows 2000 as a VS2008 target

From: Mark Incley <mark_at_cryptosol.com>
Date: Mon, 16 Feb 2009 15:35:45 +0000

Hi,

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

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:

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.

Cheers,
Mark.
Received on 2009-02-16