added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.

This commit is contained in:
Gunter Knauf 2007-10-09 23:25:58 +00:00
parent 54bcde0a14
commit 0cc9122093

View File

@ -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>