2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Replace platform ISC_PLATFORM_HAVEKQUEUE with config HAVE_KQUEUE

This commit is contained in:
Ondřej Surý
2018-09-05 12:05:32 +02:00
parent d00ef56dfa
commit 68f473a25e
5 changed files with 26 additions and 52 deletions

View File

@@ -65,7 +65,7 @@
#ifdef ISC_PLATFORM_HAVESYSUNH
#include <sys/un.h>
#endif
#ifdef ISC_PLATFORM_HAVEKQUEUE
#ifdef HAVE_KQUEUE
#include <sys/event.h>
#endif
#ifdef ISC_PLATFORM_HAVEEPOLL
@@ -94,7 +94,7 @@
/*%
* Choose the most preferable multiplex method.
*/
#ifdef ISC_PLATFORM_HAVEKQUEUE
#if defined(HAVE_KQUEUE)
#define USE_KQUEUE
#elif defined (ISC_PLATFORM_HAVEEPOLL)
#define USE_EPOLL
@@ -106,7 +106,7 @@ typedef struct {
} pollinfo_t;
#else
#define USE_SELECT
#endif /* ISC_PLATFORM_HAVEKQUEUE */
#endif /* HAVE_KQUEUE */
/*
* Set by the -T dscp option on the command line. If set to a value