aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 91e76e974..6a2500c37 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -353,9 +353,16 @@
/* LDAP SUPPORT */
/* ---------------------------------------------------------------- */
-#define CURL_LDAP_WIN 1
+#ifdef CURL_HAS_NOVELL_LDAPSDK
+#undef CURL_LDAP_HYBRID
+#undef CURL_LDAP_WIN
+#define HAVE_LDAP_SSL_H 1
+#define HAVE_LDAP_URL_PARSE 1
+#else
#undef CURL_LDAP_HYBRID
#undef HAVE_LDAP_URL_PARSE
+#define CURL_LDAP_WIN 1
+#endif
/* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */