diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:34 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:34 +0900 |
commit | c918272cc9eb3555d259e22dc587ee01e1c74324 (patch) | |
tree | f9b74a454a3066e26b62fcd5df5a89ac267940b1 /src/kqueue.hpp | |
parent | 35797d6c69032fc9eaa472c501b7fbba8e388026 (diff) |
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 <sustrik@250bpm.com>
Diffstat (limited to 'src/kqueue.hpp')
-rw-r--r-- | src/kqueue.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 <vector> |