From 7ef7ec88897e4b58d54b8dc9c03beb6ea96d4dc0 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sun, 23 Feb 1997 16:02:21 +0000 Subject: [PATCH] Can't bump FD_SETSIZE on FreeBSD. --- src/squid.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 2.47.2