fix doc example typo
[boost.git] / boost / asio / detail / win_iocp_io_service_fwd.hpp
blobc9e606027da25f73d93e2de0e01702296bdce737
1 //
2 // win_iocp_io_service_fwd.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2008 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 //
11 #ifndef BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
12 #define BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
18 #include <boost/asio/detail/push_options.hpp>
20 #include <boost/asio/detail/push_options.hpp>
21 #include <boost/config.hpp>
22 #include <boost/asio/detail/pop_options.hpp>
24 #include <boost/asio/detail/socket_types.hpp>
26 // This service is only supported on Win32 (NT4 and later).
27 #if !defined(BOOST_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 BOOST_ASIO_HAS_IOCP 1
35 namespace boost {
36 namespace asio {
37 namespace detail {
39 class win_iocp_io_service;
40 class win_iocp_overlapped_ptr;
42 } // namespace detail
43 } // namespace asio
44 } // namespace boost
46 #endif // !defined(UNDER_CE)
47 #endif // defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
48 #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
49 #endif // !defined(BOOST_ASIO_DISABLE_IOCP)
51 #include <boost/asio/detail/pop_options.hpp>
53 #endif // BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP