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/devpoll.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/devpoll.hpp') diff --git a/src/devpoll.hpp b/src/devpoll.hpp index 069eb4c..8015f62 100644 --- a/src/devpoll.hpp +++ b/src/devpoll.hpp @@ -22,9 +22,9 @@ #ifndef __XS_DEVPOLL_HPP_INCLUDED__ #define __XS_DEVPOLL_HPP_INCLUDED__ -// poller.hpp decides which polling mechanism to use. -#include "poller.hpp" -#if defined XS_USE_DEVPOLL +#include "platform.hpp" + +#if defined XS_HAVE_DEVPOLL #include -- cgit v1.2.3