Go to the documentation of this file.
9 #ifndef SQUID_COMPAT_FDSETSIZE_H
10 #define SQUID_COMPAT_FDSETSIZE_H
24 #define CHANGE_FD_SETSIZE 1
33 #if _SQUID_LINUX_ || _SQUID_KFREEBSD_
34 #undef CHANGE_FD_SETSIZE
35 #define CHANGE_FD_SETSIZE 0
37 #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
38 #if SQUID_MAXFD > DEFAULT_FD_SETSIZE
39 #include <bits/types.h>
40 #if HAVE_LINUX_POSIX_TYPES_H
41 #include <linux/posix_types.h>
44 #define __FD_SETSIZE SQUID_MAXFD
56 #include <osreldate.h>
57 #if __FreeBSD_version < 220000
58 #undef CHANGE_FD_SETSIZE
59 #define CHANGE_FD_SETSIZE 0
68 #undef CHANGE_FD_SETSIZE
69 #define CHANGE_FD_SETSIZE 0
73 #if CHANGE_FD_SETSIZE && SQUID_MAXFD > DEFAULT_FD_SETSIZE
74 #define FD_SETSIZE SQUID_MAXFD
83 #ifdef SQUID_FDSET_NOUSE
85 # define fd_set ERROR_FD_SET_USED
Introduction
Documentation
Support
Miscellaneous