curl-library
Re: libcurl 7.12.2 Win32 with Feb 2003 Core platform SDK
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 8 Dec 2004 23:53:32 +0100 (CET)
Date: Wed, 8 Dec 2004 23:53:32 +0100 (CET)
On Tue, 7 Dec 2004, nodak sodak wrote:
(We are already discussing this subject on the libcurl list, so I cc my reply
over there.)
> /* Define this to 'int' if socklen_t is not an available typedefed type */
> #if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) && !defined(USE_SSLEAY) ||
> !defined(USE_SSLEAY))
> #define socklen_t int
> #endif
> Seem reasonable or is there another way to fix the error?
The preprocessor condition seems unnecessary complex to me, given that it
checks for USE_SSLEAY not being defined twice.
Can someone express the exact conditions for that define to me, in plain
words?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-12-09