* as published by the Free Software Foundation; either version 2,
* or (at your option) any later version.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
-#include "config.h"
+#include "squid.h"
#include "helpers/defines.h"
#include "rfc1738.h"
#include "util.h"
#include <ctype.h>
#endif
-#ifdef _SQUID_MSWIN_ /* Native Windows port and MinGW */
+#if _SQUID_MSWIN_ /* Native Windows port and MinGW */
#define snprintf _snprintf
#include <windows.h>
int use_extension_dn = 0;
int strip_nt_domain = 0;
int strip_kerberos_realm = 0;
- int err = 0;
setbuf(stdout, NULL);
/* 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;
tryagain = 1;
}
}
- err = 0;
}
if (ld)
ldap_unbind(ld);