]> git.sur5r.net Git - openldap/blob - include/ac/fdset.h
45ed4247abccb7cb27b0197c4a78430a2a1ec13f
[openldap] / include / ac / fdset.h
1 /* redefine FD_SET */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4  *
5  * Copyright 1998-2004 The OpenLDAP Foundation.
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted only as authorized by the OpenLDAP
10  * Public License.
11  *
12  * A copy of this license is available in file LICENSE in the
13  * top-level directory of the distribution or, alternatively, at
14  * <http://www.OpenLDAP.org/license.html>.
15  */
16
17 #ifndef _AC_FDSET_H
18 #define _AC_FDSET_H
19
20 #ifdef OPENLDAP_FD_SETSIZE
21     /* assume installer desires to enlarge fd_set */
22 #  ifdef HAVE_BITS_TYPES_H
23 #    include <bits/types.h>
24 #  endif
25 #  ifdef __FD_SETSIZE
26 #    undef __FD_SETSIZE
27 #    define __FD_SETSIZE OPENLDAP_FD_SETSIZE
28 #  else
29 #    define FD_SETSIZE OPENLDAP_FD_SETSIZE
30 #  endif
31 #endif
32
33 #endif /* _AC_FDSET_H */