[857] | 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 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 |
|
---|
| 24 | # include <boost/detail/sp_counted_base_nt.hpp>
|
---|
| 25 |
|
---|
| 26 | #elif defined( BOOST_SP_USE_PTHREADS )
|
---|
| 27 |
|
---|
| 28 | # include <boost/detail/sp_counted_base_pt.hpp>
|
---|
| 29 |
|
---|
| 30 | #elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) )
|
---|
| 31 |
|
---|
| 32 | # include <boost/detail/sp_counted_base_gcc_x86.hpp>
|
---|
| 33 |
|
---|
| 34 | //~ #elif defined( __MWERKS__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) )
|
---|
| 35 |
|
---|
| 36 | //~ # include <boost/detail/sp_counted_base_cw_x86.hpp>
|
---|
| 37 |
|
---|
| 38 | #elif defined( __GNUC__ ) && defined( __ia64__ ) && !defined( __INTEL_COMPILER )
|
---|
| 39 |
|
---|
| 40 | # include <boost/detail/sp_counted_base_gcc_ia64.hpp>
|
---|
| 41 |
|
---|
| 42 | #elif defined( __MWERKS__ ) && defined( __POWERPC__ )
|
---|
| 43 |
|
---|
| 44 | # include <boost/detail/sp_counted_base_cw_ppc.hpp>
|
---|
| 45 |
|
---|
| 46 | #elif defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) )
|
---|
| 47 |
|
---|
| 48 | # include <boost/detail/sp_counted_base_gcc_ppc.hpp>
|
---|
| 49 |
|
---|
| 50 | #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
|
---|
| 51 |
|
---|
| 52 | # include <boost/detail/sp_counted_base_w32.hpp>
|
---|
| 53 |
|
---|
| 54 | #elif !defined( BOOST_HAS_THREADS )
|
---|
| 55 |
|
---|
| 56 | # include <boost/detail/sp_counted_base_nt.hpp>
|
---|
| 57 |
|
---|
| 58 | #elif defined( BOOST_HAS_PTHREADS )
|
---|
| 59 |
|
---|
| 60 | # include <boost/detail/sp_counted_base_pt.hpp>
|
---|
| 61 |
|
---|
| 62 | #else
|
---|
| 63 |
|
---|
| 64 | // Use #define BOOST_DISABLE_THREADS to avoid the error
|
---|
| 65 | # error Unrecognized threading platform
|
---|
| 66 |
|
---|
| 67 | #endif
|
---|
| 68 |
|
---|
| 69 | #endif // #ifndef BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
|
---|