squid-1.1.2 compile problem with squid.h

From: Miguel A.L. Paraz <map@dont-contact.us>
Date: Fri, 3 Jan 1997 08:49:56 +0000 ()

Hi,

Karl Ferguson wrote:
> In file included from acl.c:31:
> squid.h:260: parse error

Yes, this fails under gcc 2.7.0, but is fine under 2.7.2.

What I did was edit squid.h, around line 260, and replace:

#if FD_SETSIZE < SQUID_MAXFD

with

#if 1

After reading through the FD logic, I think this was erring on the
"safe side", but I'm not too sure. In any case that 2.7.0 machine
runs a very busy Squid and it seems fine so far.

-- 
miguel a.l. paraz  <map@iphil.net> | iphil communications, makati city, ph
pgp key id: 0x43F0D011             | <http://www.iphil.net>
Received on Fri Jan 03 1997 - 01:03:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:58 MST