]> git.lyx.org Git - lyx.git/blob - boost/boost/detail/sp_counted_base.hpp
boost: update to 1.42.0
[lyx.git] / boost / boost / detail / sp_counted_base.hpp
1 #ifndef BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
2 #define BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
3
4 // MS compatible compilers support #pragma once
5
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
7 # pragma once
8 #endif
9
10 //
11 //  detail/sp_counted_base.hpp
12 //
13 //  Copyright 2005, 2006 Peter Dimov
14 //
15 // Distributed under the Boost Software License, Version 1.0. (See
16 // accompanying file LICENSE_1_0.txt or copy at
17 // http://www.boost.org/LICENSE_1_0.txt)
18 //
19
20 #include <boost/config.hpp>
21
22 #if defined( BOOST_SP_DISABLE_THREADS )
23 # include <boost/detail/sp_counted_base_nt.hpp>
24
25 #elif defined( BOOST_SP_USE_SPINLOCK )
26 # include <boost/detail/sp_counted_base_spin.hpp>
27
28 #elif defined( BOOST_SP_USE_PTHREADS )
29 # include <boost/detail/sp_counted_base_pt.hpp>
30
31 #elif defined( BOOST_DISABLE_THREADS ) && !defined( BOOST_SP_ENABLE_THREADS ) && !defined( BOOST_DISABLE_WIN32 )
32 # include <boost/detail/sp_counted_base_nt.hpp>
33
34 #elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) )
35 # include <boost/detail/sp_counted_base_gcc_x86.hpp>
36
37 #elif defined( __GNUC__ ) && defined( __ia64__ ) && !defined( __INTEL_COMPILER )
38 # include <boost/detail/sp_counted_base_gcc_ia64.hpp>
39
40 #elif defined(__HP_aCC) && defined(__ia64)
41 # include <boost/detail/sp_counted_base_acc_ia64.hpp>
42
43 #elif defined( __MWERKS__ ) && defined( __POWERPC__ )
44 # include <boost/detail/sp_counted_base_cw_ppc.hpp>
45
46 #elif defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc ) )
47 # include <boost/detail/sp_counted_base_gcc_ppc.hpp>
48
49 #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa )
50 # include <boost/detail/sp_counted_base_sync.hpp>
51
52 #elif defined(__GNUC__) && ( defined( __sparcv8 ) || defined( __sparcv9 ) )
53 # include <boost/detail/sp_counted_base_gcc_sparc.hpp>
54
55 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
56 # include <boost/detail/sp_counted_base_w32.hpp>
57
58 #elif !defined( BOOST_HAS_THREADS )
59 # include <boost/detail/sp_counted_base_nt.hpp>
60
61 #else
62 # include <boost/detail/sp_counted_base_spin.hpp>
63
64 #endif
65
66 #endif  // #ifndef BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED