cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Some fixes for cmake build.

From: Bill Hoffman <bill.hoffman_at_kitware.com>
Date: Tue, 30 Mar 2010 11:49:13 -0400

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.

-Bill
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-30