~ubuntu-branches/ubuntu/trusty/miro/trusty

« back to all changes in this revision

Viewing changes to portable/libtorrent/include/libtorrent/asio/detail/select_interrupter.hpp

  • Committer: Daniel Hahler
  • Date: 2010-04-13 18:51:35 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: ubuntu-launchpad@thequod.de-20100413185135-xi24v1diqg8w406x
Merging shared upstream rev into target branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// select_interrupter.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
 
//
10
 
 
11
 
#ifndef ASIO_DETAIL_SELECT_INTERRUPTER_HPP
12
 
#define ASIO_DETAIL_SELECT_INTERRUPTER_HPP
13
 
 
14
 
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
 
# pragma once
16
 
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
 
 
18
 
#include "asio/detail/push_options.hpp"
19
 
 
20
 
#include "asio/detail/push_options.hpp"
21
 
#include <boost/config.hpp>
22
 
#include "asio/detail/pop_options.hpp"
23
 
 
24
 
#include "asio/detail/pipe_select_interrupter.hpp"
25
 
#include "asio/detail/socket_select_interrupter.hpp"
26
 
 
27
 
namespace asio {
28
 
namespace detail {
29
 
 
30
 
#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
31
 
typedef socket_select_interrupter select_interrupter;
32
 
#else
33
 
typedef pipe_select_interrupter select_interrupter;
34
 
#endif
35
 
 
36
 
} // namespace detail
37
 
} // namespace asio
38
 
 
39
 
#include "asio/detail/pop_options.hpp"
40
 
 
41
 
#endif // ASIO_DETAIL_SELECT_INTERRUPTER_HPP