]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/smart_ptr/detail/sp_counted_base.hpp
Logo AND Algorithmique Numérique Distribuée

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