cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: patches to get MSVC7 to build

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 27 Feb 2004 13:03:33 +0100

"David Byron" <DByron_at_everdreamcorp.com> said:

> +/* MSVC 7 or greater is required for IPv6 */
> +#if defined(_MSC_VER) && (_MSC_VER < 1300) && defined(ENABLE_IPV6)
> +#error "IPv6 requires MSVC 7"
> +#endif

This is not right. I have MSVC6 (_MSC_VER = 1200) and have no
problems building IPv6 from cvs-sources.

Looks like your SDK headers are incomplete. My <ws2tcpip.h> is
rev 0.4 from 1996. It has NI_MAXHOST and socklen_t. If you don't
have those, define them in your CFLAGS.

--gv
Received on 2004-02-27