mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded
This commit is contained in:
parent
495ea2c13c
commit
bf0d729454
@ -40,8 +40,6 @@
|
||||
|
||||
#include "ldap_rq.h"
|
||||
|
||||
#define HAVE_EPOLL 1
|
||||
|
||||
#ifdef HAVE_EPOLL
|
||||
#include <sys/epoll.h>
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user