From 2e056353b00d0944bdb2f8e948cc40a4dc0f3dfb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 25 May 2010 00:44:42 +0200 Subject: LDAP: properly implemented as a curl_handler makes the LDAP code much cleaner, nicer and in general being a better libcurl citizen. If a new enough OpenLDAP version is detect, the new and shiny lib/openldap.c code is then used instead of the old cruft Code by Howard, minor cleanups by Daniel. --- lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ldap.c') diff --git a/lib/ldap.c b/lib/ldap.c index 07ec5b0e6..06c229042 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -22,7 +22,7 @@ #include "setup.h" -#ifndef CURL_DISABLE_LDAP +#if !defined(CURL_DISABLE_LDAP) && !defined(USE_OPENLDAP) /* -- WIN32 approved -- */ #include #include -- cgit v1.2.3