curl-library
Re: building for Windows with SSL -- patch for config-win32.h
Date: Thu, 4 Dec 2003 18:48:11 +0100
"David Byron" <DByron_at_everdreamcorp.com> said:
> /* Define this to 'int' if socklen_t is not an available typedefed type */
> -#if !defined(ENABLE_IPV6) && !defined(USE_SSLEAY)
> +#if !defined(ENABLE_IPV6)
> #define socklen_t int
> #endif
'socklen_t' should be in MSVC's <ws2tcpip.h> unless your SDK
isn't too old. Mine is from 15-Oct 2002.
> I also had to manually generate lib/ca-bundle.h. This is what I used.
>
> #define CURL_CA_BUNDLE "curl-ca-bundle.crt"
I haven't used MSVC in some time, but
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
is probably better so the full path of the file can be known
w/o rebuildng.
--gv
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-04