Home | History | Annotate | Download | only in detail
      1 //
      2 // detail/reactor_fwd.hpp
      3 // ~~~~~~~~~~~~~~~~~~~~~~
      4 //
      5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
      6 //
      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)
      9 //
     10 
     11 #ifndef ASIO_DETAIL_REACTOR_FWD_HPP
     12 #define ASIO_DETAIL_REACTOR_FWD_HPP
     13 
     14 
     15 #include "asio/detail/config.hpp"
     16 
     17 namespace asio {
     18 namespace detail {
     19 
     20 #if   defined(ASIO_HAS_EPOLL)
     21 typedef class epoll_reactor reactor;
     22 #elif defined(ASIO_HAS_DEV_POLL)
     23 typedef class dev_poll_reactor reactor;
     24 #else
     25 typedef class select_reactor reactor;
     26 #endif
     27 
     28 } // namespace detail
     29 } // namespace asio
     30 
     31 #endif // ASIO_DETAIL_REACTOR_FWD_HPP
     32