5 // Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 #ifndef BOOST_ASIO_DETAIL_REACTOR_HPP
12 #define BOOST_ASIO_DETAIL_REACTOR_HPP
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
18 #include <boost/asio/detail/config.hpp>
20 #if defined(BOOST_ASIO_HAS_IOCP) || defined(BOOST_ASIO_WINDOWS_RUNTIME)
21 # include <boost/asio/detail/null_reactor.hpp>
22 #elif defined(BOOST_ASIO_HAS_IO_URING_AS_DEFAULT)
23 # include <boost/asio/detail/null_reactor.hpp>
24 #elif defined(BOOST_ASIO_HAS_EPOLL)
25 # include <boost/asio/detail/epoll_reactor.hpp>
26 #elif defined(BOOST_ASIO_HAS_KQUEUE)
27 # include <boost/asio/detail/kqueue_reactor.hpp>
28 #elif defined(BOOST_ASIO_HAS_DEV_POLL)
29 # include <boost/asio/detail/dev_poll_reactor.hpp>
31 # include <boost/asio/detail/select_reactor.hpp>
38 #if defined(BOOST_ASIO_HAS_IOCP) || defined(BOOST_ASIO_WINDOWS_RUNTIME)
39 typedef null_reactor reactor;
40 #elif defined(BOOST_ASIO_HAS_IO_URING_AS_DEFAULT)
41 typedef null_reactor reactor;
42 #elif defined(BOOST_ASIO_HAS_EPOLL)
43 typedef epoll_reactor reactor;
44 #elif defined(BOOST_ASIO_HAS_KQUEUE)
45 typedef kqueue_reactor reactor;
46 #elif defined(BOOST_ASIO_HAS_DEV_POLL)
47 typedef dev_poll_reactor reactor;
49 typedef select_reactor reactor;
56 #endif // BOOST_ASIO_DETAIL_REACTOR_HPP