From: wessels <> Date: Sun, 23 Feb 1997 16:02:21 +0000 (+0000) Subject: Can't bump FD_SETSIZE on FreeBSD. X-Git-Tag: SQUID_3_0_PRE1~5086 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ef7ec88897e4b58d54b8dc9c03beb6ea96d4dc0;p=thirdparty%2Fsquid.git Can't bump FD_SETSIZE on FreeBSD. --- diff --git a/src/squid.h b/src/squid.h index a4c16fa953..f954bd1276 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.94 1997/02/20 22:23:08 wessels Exp $ + * $Id: squid.h,v 1.95 1997/02/23 09:02:21 wessels Exp $ * * AUTHOR: Duane Wessels * @@ -45,11 +45,17 @@ * we get in trouble if we try to increase it. barf. */ -#ifndef _SQUID_LINUX_ +#ifdef _SQUID_LINUX_ + /* Cannot increase FD_SETSIZE on Linux */ +#elif _SQUID_FREEBSD_ + /* Cannot increase FD_SETSIZE on FreeBSD */ + /* Marian Durkovic */ +#else + /* Increase FD_SETSIZE if SQUID_MAXFD is bigger */ #if SQUID_MAXFD > FD_SETSIZE #define FD_SETSIZE SQUID_MAXFD #endif -#endif /* _SQUID_LINUX_ */ +#endif /* */ #if HAVE_UNISTD_H #include