]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - helpers/digest_auth/eDirectory/ldap_backend.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / helpers / digest_auth / eDirectory / ldap_backend.cc
index 6d69aa9af03a463c25439690f43eaa8353bdeafc..0a40403c9a2804b33f791443b2e3b4a66960a9ad 100644 (file)
@@ -5,14 +5,13 @@
  * ldap_backend.c
  * AUTHOR: Flavio Pescuma, MARA Systems AB <flavio@marasystems.com>
  */
-#define SQUID_NO_ALLOC_PROTECT 1
-#include "config.h"
+#include "squid.h"
 
 #define LDAP_DEPRECATED 1
 
 #include "ldap_backend.h"
 
-#ifdef _SQUID_MSWIN_           /* Native Windows port and MinGW */
+#if _SQUID_MSWIN_              /* Native Windows port and MinGW */
 
 #define snprintf _snprintf
 #include <windows.h>
@@ -330,7 +329,7 @@ ldapconnect(void)
     /* On Windows ldap_start_tls_s is available starting from Windows XP,
      * so we need to bind at run-time with the function entry point
      */
-#ifdef _SQUID_MSWIN_
+#if _SQUID_MSWIN_
     if (use_tls) {
 
         HMODULE WLDAP32Handle;