RE: libcurl does not compile in Microsoft VisualStudio 6
Date: Fri, 28 Sep 2007 15:27:45 -0400
Thanks for the quick response.
The SDK pointed to by the MS URL is for Windows2003. I am running W2K Pro.
Let's ignore the socklen_t undefined syntax error and move on to the definitions of LDAP_VENDOR_NAME and LDAP_VENDOR_VERSION and berval.
Do you have any idea why these 2 variables and datatype are undefined in a VS6 compile of libcurl?
Thanks again for your response...
[mailto:curl-library-bounces_at_cool.haxx.se]On Behalf Of Joe Nardone
Sent: Friday, September 28, 2007 1:56 PM
To: libcurl development
Subject: Re: libcurl does not compile in Microsoft VisualStudio 6
> file.c -- socklen_t is undefined
> I found socklen_t defined in config-win32.h but it is surrounded by a
> #ifndef HAVE_WS2TCPIP_H. If I comment-out this #ifndef, then the socklen_t
> data type is found OK. Note that I cannot define HAVE_WS2TCPIP_H as MS VS6
> does not have a ws2tcpip.h header file.
For this header (and the appropriate definition of socklen_t) you
should install the core Microsoft platform SDK (and ensure that the
SDK's include and lib paths are first in your VC6 environment).
Received on 2007-09-28