]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support...
authorGunter Knauf <gk@gknw.de>
Tue, 9 Oct 2007 23:25:58 +0000 (23:25 +0000)
committerGunter Knauf <gk@gknw.de>
Tue, 9 Oct 2007 23:25:58 +0000 (23:25 +0000)
lib/ldap.c

index f5a44c69eb92ad534133223aa392448ab023a4a8..095fbeb0b8e286d4ccbdee73294844f2265f2de3 100644 (file)
 
 #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>