]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Can't bump FD_SETSIZE on FreeBSD.
authorwessels <>
Sun, 23 Feb 1997 16:02:21 +0000 (16:02 +0000)
committerwessels <>
Sun, 23 Feb 1997 16:02:21 +0000 (16:02 +0000)
src/squid.h

index a4c16fa95303541a77088c9d2aa46f2e9aba47e5..f954bd1276dcae91ea799bd76fb87973e9e0ec2d 100644 (file)
@@ -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
  *
  * 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 <marian@svf.stuba.sk> */
+#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 <unistd.h>