$search
00001 // 00002 // dev_poll_reactor_fwd.hpp 00003 // ~~~~~~~~~~~~~~~~~~~~~~~~ 00004 // 00005 // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) 00006 // 00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00009 // 00010 00011 #ifndef ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP 00012 #define ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP 00013 00014 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 00015 # pragma once 00016 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 00017 00018 #include "asio/detail/push_options.hpp" 00019 00020 #if !defined(ASIO_DISABLE_DEV_POLL) 00021 #if defined(__sun) // This service is only supported on Solaris. 00022 00023 // Define this to indicate that /dev/poll is supported on the target platform. 00024 #define ASIO_HAS_DEV_POLL 1 00025 00026 namespace asio { 00027 namespace detail { 00028 00029 template <bool Own_Thread> 00030 class dev_poll_reactor; 00031 00032 } // namespace detail 00033 } // namespace asio 00034 00035 #endif // defined(__sun) 00036 #endif // !defined(ASIO_DISABLE_DEV_POLL) 00037 00038 #include "asio/detail/pop_options.hpp" 00039 00040 #endif // ASIO_DETAIL_DEV_POLL_REACTOR_FWD_HPP