From: Amos Jeffries Date: Fri, 27 Mar 2009 08:20:57 +0000 (+1300) Subject: Fix ident errors. Not all USE_ macros are #ifdef X-Git-Tag: SQUID_3_2_0_1~1097 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee326f02ca35fa313b944a21f9820d562a55a8de;p=thirdparty%2Fsquid.git Fix ident errors. Not all USE_ macros are #ifdef --- diff --git a/src/AclRegs.cc b/src/AclRegs.cc index 39fc678ded..73d5f9747e 100644 --- a/src/AclRegs.cc +++ b/src/AclRegs.cc @@ -24,7 +24,7 @@ #include "acl/HttpRepHeader.h" #include "acl/HttpReqHeader.h" #include "acl/HttpStatus.h" -#ifdef USE_IDENT +#if USE_IDENT #include "acl/Ident.h" #endif #include "acl/IntRange.h" @@ -134,7 +134,7 @@ ACLStrategised ACLUrlPort::RegistryEntry_(new ACLIntRange, ACLUrlPortStrate ACLARP ACLARP::RegistryEntry_("arp"); #endif -#ifdef USE_IDENT +#if USE_IDENT ACL::Prototype ACLIdent::UserRegistryProtoype(&ACLIdent::UserRegistryEntry_, "ident"); ACLIdent ACLIdent::UserRegistryEntry_(new ACLUserData, "ident"); ACL::Prototype ACLIdent::RegexRegistryProtoype(&ACLIdent::RegexRegistryEntry_, "ident_regex" );