epoll_reactor_fwd.hpp
Go to the documentation of this file.
00001 //
00002 // epoll_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_EPOLL_REACTOR_FWD_HPP
00012 #define ASIO_DETAIL_EPOLL_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_EPOLL)
00021 #if defined(__linux__) // This service is only supported on Linux.
00022 
00023 #include "asio/detail/push_options.hpp"
00024 #include <linux/version.h>
00025 #include "asio/detail/pop_options.hpp"
00026 
00027 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2,5,45) // Only kernels >= 2.5.45.
00028 
00029 // Define this to indicate that epoll is supported on the target platform.
00030 #define ASIO_HAS_EPOLL 1
00031 
00032 namespace asio {
00033 namespace detail {
00034 
00035 template <bool Own_Thread>
00036 class epoll_reactor;
00037 
00038 } // namespace detail
00039 } // namespace asio
00040 
00041 #endif // LINUX_VERSION_CODE >= KERNEL_VERSION (2,5,45)
00042 #endif // defined(__linux__)
00043 #endif // !defined(ASIO_DISABLE_EPOLL)
00044 
00045 #include "asio/detail/pop_options.hpp"
00046 
00047 #endif // ASIO_DETAIL_EPOLL_REACTOR_FWD_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:39