2 // dev_poll_reactor_fwd.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~
5 // Copyright (c) 2003-2008 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_DEV_POLL_REACTOR_FWD_HPP
12 #define BOOST_ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
18 #include <boost/asio/detail/push_options.hpp>
20 #if !defined(BOOST_ASIO_DISABLE_DEV_POLL)
21 #if defined(__sun) // This service is only supported on Solaris.
23 // Define this to indicate that /dev/poll is supported on the target platform.
24 #define BOOST_ASIO_HAS_DEV_POLL 1
30 template <bool Own_Thread
>
31 class dev_poll_reactor
;
37 #endif // defined(__sun)
38 #endif // !defined(BOOST_ASIO_DISABLE_DEV_POLL)
40 #include <boost/asio/detail/pop_options.hpp>
42 #endif // BOOST_ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP