From c918272cc9eb3555d259e22dc587ee01e1c74324 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:04:34 +0900 Subject: Simplify mechanism for choosing polling mechanism Till now the selection process was implemented both in autotools build system and in the code itself. From now on, it's exclusively build system's taks to choose the right polling mechanism. Signed-off-by: Martin Sustrik --- src/kqueue.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/kqueue.hpp') diff --git a/src/kqueue.hpp b/src/kqueue.hpp index 71cf3e7..02388c1 100644 --- a/src/kqueue.hpp +++ b/src/kqueue.hpp @@ -22,9 +22,8 @@ #ifndef __XS_KQUEUE_HPP_INCLUDED__ #define __XS_KQUEUE_HPP_INCLUDED__ -// poller.hpp decides which polling mechanism to use. -#include "poller.hpp" -#if defined XS_USE_KQUEUE +#include "platform.hpp" +#if defined XS_HAVE_KQUEUE #include -- cgit v1.2.3