From: Gunter Knauf Date: Tue, 9 Oct 2007 23:25:58 +0000 (+0000) Subject: added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support... X-Git-Tag: curl-7_17_1~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cc9122093d2fc8715170d88d5292789b0b6a8ba;p=thirdparty%2Fcurl.git added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code. --- diff --git a/lib/ldap.c b/lib/ldap.c index f5a44c69eb..095fbeb0b8 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -45,7 +45,11 @@ #ifdef CURL_LDAP_WIN /* Use W$ LDAP implementation. */ # include -# include +# ifndef LDAP_VENDOR_NAME +# error Your Platform SDK is NOT sufficient for LDAP support! Update your Platform SDK, or disable LDAP LDAP support! +# else +# include +# endif #else #define LDAP_DEPRECATED 1 /* Be sure ldap_init() is defined. */ # include