]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix ident errors. Not all USE_ macros are #ifdef
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 27 Mar 2009 08:20:57 +0000 (21:20 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 27 Mar 2009 08:20:57 +0000 (21:20 +1300)
src/AclRegs.cc

index 39fc678ded7ad65612f6494bdcab3dbbf30c05d7..73d5f9747e64bbcaf27cd3424958e427060433ae 100644 (file)
@@ -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<int> 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" );