Re: autoconf 2.5 applied

From: Robert Collins <robertc@dont-contact.us>
Date: 07 Oct 2002 20:53:57 +1000

On Mon, 2002-10-07 at 20:42, Henrik Nordstrom wrote:
> On Sunday 06 October 2002 04.28, Robert Collins wrote:
>
> > Also, there was a conflict with redefining FD_SETSIZE when
> > sys/types was included on freeBSD. I wasn't sure what was the right
> > thing to do for xBSD, so I simply put a
> > #ifdef FD_SETSIZE
> > #undef FD_SETSIZE
> > #endif
> > in squid.h for now.
>
> This will not work. If FD_SETSIZE is already defined then redefining
> it is most likely too late.. The custom FD_SETSIZE needs to be
> defined before include of any headers making use of FD_SETSIZE.

Ah, ok.So we need to define it before including sys/type.h. I'll look
into this tomorrow, unless someone beats me to it.

Rob

Received on Mon Oct 07 2002 - 04:54:01 MDT

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