curl-library
Re: Some fixes for cmake build.
Date: Tue, 30 Mar 2010 11:53:33 -0400
Bill Hoffman wrote:
> tetetest tetetest wrote:
>> Hi all again.
>>
>>> Dilemma: socklen_t can only be used when winsock2.h is included. In
>> turn,
>>> winsock2.h cannot always be included even if it is present in the
>> system.
>>
>> I looked into curlbuild.h.dist - for windows platforms (both win32 and
>> 64, and
>> even WinCE) socklen_t is 'int'. So be it: I will force socklen_t to be
>> 'int' on
>> windows, and avoid the need to include <winsock2.h> in curlbuild.h
>> altogether.
>>
>
> Can you please try the git master? I have fixed all of this, and built
> on linux and windows.
>
Ignore this email... :)
I did not read your earlier post before sending... :)
I am not sure what your problem is because I did built with VS2008??
socklen_t was not a problem for me...
I will investigate more this afternoon. Is the problem when you build
curl, or when you use curl?
-Bill
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-30