Commit 0cc91220 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

added check for MSVC6 standard PSDK and bail out since insufficient for LDAP...

added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.
parent 54bcde0a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -45,7 +45,11 @@

#ifdef CURL_LDAP_WIN            /* Use W$ LDAP implementation. */
# include <winldap.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>