From: Howard Chu Date: Thu, 18 Nov 2004 19:15:21 +0000 (+0000) Subject: Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~276 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf0d7294548163b378f62d936cba287965775657;p=openldap Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 52c2afd86a..5094345e99 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -40,8 +40,6 @@ #include "ldap_rq.h" -#define HAVE_EPOLL 1 - #ifdef HAVE_EPOLL #include #endif @@ -117,7 +115,6 @@ static struct slap_daemon { #define SLAP_EVENTS_ARE_INDEXED 0 #define SLAP_SOCK_IX(s) (slap_daemon.sd_index[s]) #define SLAP_SOCK_EP(s) (slap_daemon.sd_epolls[SLAP_SOCK_IX(s)]) -#define SLAP_SOCK_FD(s) (SLAP_SOCK_EP(s).data.fd) #define SLAP_SOCK_EV(s) (SLAP_SOCK_EP(s).events) #define SLAP_SOCK_IS_ACTIVE(s) (SLAP_SOCK_IX(s) != -1) #define SLAP_SOCK_NOT_ACTIVE(s) (SLAP_SOCK_IX(s) == -1)