* 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>
/* 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;