cURL / Mailing Lists / curl-library / Single Mail

curl-library

mingw compile fix for 7.12.1

From: Ben Greear <greearb_at_candelatech.com>
Date: Sat, 25 Sep 2004 00:18:53 -0700

I had to change this code in ldap.c to compile with mingw. If Windows
is case in-sensitive, maybe the #ifdef is not really needed??

#if defined(WIN32)
# include <windows.h>
# include <malloc.h>
#ifdef __MINGW32__
# include <winldap.h>
#else
# include <WinLdap.h>
#endif
#endif

Also, I am curious if anyone has had any success using libcurl
cross-compiled for windows with mingw. I tried 7.10.1 but it
gave me error 45 when trying to do an http download. Could
be my bug, or could be curl. And, about to try the latest curl now...but
would be conforting to know of other's experience :)

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
Received on 2004-09-25