2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Replace platform ISC_PLATFORM_HAVEEPOLL with config HAVE_EPOLL_CREATE1

This commit is contained in:
Ondřej Surý
2018-09-05 12:14:27 +02:00
parent 68f473a25e
commit 5d65392d18
5 changed files with 24 additions and 78 deletions

View File

@@ -68,7 +68,7 @@
#ifdef HAVE_KQUEUE
#include <sys/event.h>
#endif
#ifdef ISC_PLATFORM_HAVEEPOLL
#ifdef HAVE_EPOLL_CREATE1
#include <sys/epoll.h>
#endif
#ifdef ISC_PLATFORM_HAVEDEVPOLL
@@ -96,7 +96,7 @@
*/
#if defined(HAVE_KQUEUE)
#define USE_KQUEUE
#elif defined (ISC_PLATFORM_HAVEEPOLL)
#elif defined(HAVE_EPOLL_CREATE1)
#define USE_EPOLL
#elif defined (ISC_PLATFORM_HAVEDEVPOLL)
#define USE_DEVPOLL