2
// win_iocp_io_service_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 ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
12
#define ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
18
#include "asio/detail/push_options.hpp"
20
#include "asio/detail/push_options.hpp"
21
#include <boost/config.hpp>
22
#include "asio/detail/pop_options.hpp"
24
#include "asio/detail/socket_types.hpp"
26
// This service is only supported on Win32 (NT4 and later).
27
#if !defined(ASIO_DISABLE_IOCP)
28
#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
29
#if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
30
#if !defined(UNDER_CE)
32
// Define this to indicate that IOCP is supported on the target platform.
33
#define ASIO_HAS_IOCP 1
38
class win_iocp_io_service;
43
#endif // !defined(UNDER_CE)
44
#endif // defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
45
#endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
46
#endif // !defined(ASIO_DISABLE_IOCP)
48
#include "asio/detail/pop_options.hpp"
50
#endif // ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP