00001 #ifndef BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED 00002 #define BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED 00003 00004 // MS compatible compilers support #pragma once 00005 00006 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 00007 # pragma once 00008 #endif 00009 00010 // 00011 // detail/sp_counted_base.hpp 00012 // 00013 // Copyright 2005 Peter Dimov 00014 // 00015 // Distributed under the Boost Software License, Version 1.0. (See 00016 // accompanying file LICENSE_1_0.txt or copy at 00017 // http://www.boost.org/LICENSE_1_0.txt) 00018 // 00019 00020 #include <sysc/packages/boost/config.hpp> 00021 00022 #if defined( BOOST_SP_DISABLE_THREADS ) 00023 00024 # include <sysc/packages/boost/detail/sp_counted_base_nt.hpp> 00025 00026 #elif defined( BOOST_SP_USE_PTHREADS ) 00027 00028 # include <sysc/packages/boost/detail/sp_counted_base_pt.hpp> 00029 00030 #elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) ) 00031 00032 # include <sysc/packages/boost/detail/sp_counted_base_gcc_x86.hpp> 00033 00034 //~ #elif defined( __MWERKS__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) ) 00035 00036 //~ # include <sysc/packages/boost/detail/sp_counted_base_cw_x86.hpp> 00037 00038 #elif defined( __GNUC__ ) && defined( __ia64__ ) && !defined( __INTEL_COMPILER ) 00039 00040 # include <sysc/packages/boost/detail/sp_counted_base_gcc_ia64.hpp> 00041 00042 #elif defined( __MWERKS__ ) && defined( __POWERPC__ ) 00043 00044 # include <sysc/packages/boost/detail/sp_counted_base_cw_ppc.hpp> 00045 00046 #elif defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) ) 00047 00048 # include <sysc/packages/boost/detail/sp_counted_base_gcc_ppc.hpp> 00049 00050 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) 00051 00052 # include <sysc/packages/boost/detail/sp_counted_base_w32.hpp> 00053 00054 #elif !defined( BOOST_HAS_THREADS ) 00055 00056 # include <sysc/packages/boost/detail/sp_counted_base_nt.hpp> 00057 00058 #elif defined( BOOST_HAS_PTHREADS ) 00059 00060 # include <sysc/packages/boost/detail/sp_counted_base_pt.hpp> 00061 00062 #else 00063 00064 // Use #define BOOST_DISABLE_THREADS to avoid the error 00065 # error Unrecognized threading platform 00066 00067 #endif 00068 00069 #endif // #ifndef BOOST_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
1.5.5