cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: user with a windows build problem

From: Gonzalo Diethelm <gonzalo.diethelm_at_aditiva.com>
Date: Tue, 7 Dec 2004 11:47:36 -0300

> Just an idea:
>
> --- setup.h 26 Nov 2004 16:08:16 -0000 1.75
> +++ setup.h 7 Dec 2004 14:29:08 -0000
> @@ -183,6 +183,8 @@
>
> #if defined(ENABLE_IPV6) || defined(USE_SSLEAY)
> #include <ws2tcpip.h>
> +#else
> +#define socklen_t int
> #endif

If you really were to do that, it would probably be a better idea to do

  typedef int socklen_t;

> But it seems the issue is a bit more complicated.

I would think so. Regards,

-- 
Gonzalo Diethelm
gonzalo.diethelm_at_aditiva.com
Received on 2004-12-07