aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-10-09 23:25:58 +0000
committerGunter Knauf <gk@gknw.de>2007-10-09 23:25:58 +0000
commit0cc9122093d2fc8715170d88d5292789b0b6a8ba (patch)
treebabc9819d91536966464db8ac70070edc05de989
parent54bcde0a149f189a8a140e63a8e27568dfa3ee61 (diff)
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.
-rw-r--r--lib/ldap.c6
1 files changed, 5 insertions, 1 deletions
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 <winldap.h>
-# include <winber.h>
+# 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 <winber.h>
+# endif
#else
#define LDAP_DEPRECATED 1 /* Be sure ldap_init() is defined. */
# include <ldap.h>