From 0cc9122093d2fc8715170d88d5292789b0b6a8ba Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 9 Oct 2007 23:25:58 +0000 Subject: added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code. --- lib/ldap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ldap.c b/lib/ldap.c index f5a44c69e..095fbeb0b 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 -- cgit v1.2.3