summaryrefslogtreecommitdiff
path: root/src/select.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-20 07:42:10 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-21 07:30:23 +0200
commit0fb5a016497d3061a6edf40752c06127f3abb796 (patch)
tree6abe36205647f5b8c134954f4d22a0c3c3bc98b1 /src/select.hpp
parent0a12aa09b65c67033b5021057dd04fde0a3cabb5 (diff)
Select polling mechanisms at one place
This patch provides a single place for selecting polling mechanisms (polling.hpp). Up to now the selection was spread among the build system and several source files. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/select.hpp')
-rw-r--r--src/select.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select.hpp b/src/select.hpp
index ea2831d..df188eb 100644
--- a/src/select.hpp
+++ b/src/select.hpp
@@ -22,9 +22,9 @@
#ifndef __XS_SELECT_HPP_INCLUDED__
#define __XS_SELECT_HPP_INCLUDED__
-#include "platform.hpp"
+#include "polling.hpp"
-#if defined XS_HAVE_SELECT
+#if defined XS_USE_ASYNC_SELECT
#include "platform.hpp"