[core] Illumos epoll incompatible w/ lighttpd impl

Illumos POLLRDHUP != EPOLLRDHUP; lighttpd implementation asserts()
(since lighttpd implementation defines FDEVENT_RDHUP as POLLRDHUP)
master
Glenn Strauss 10 months ago
parent 2759d1eb00
commit 422d0355f5
  1. 2
      src/fdevent_impl.h

@ -36,6 +36,8 @@ struct pollfd; /* declaration */
#if defined HAVE_PORT_H && defined HAVE_PORT_CREATE && defined(__sun)
# define FDEVENT_USE_SOLARIS_PORT
# include <port.h>
/* Illumos epoll not supported by lighttpd; POLLRDHUP != EPOLLRDHUP on Illumos*/
# undef FDEVENT_USE_LINUX_EPOLL
#endif
#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE

Loading…
Cancel
Save