File indexing completed on 2025-01-18 09:51:43
0001 #ifndef BOOST_SMART_PTR_DETAIL_SP_HAS_SYNC_INTRINSICS_HPP_INCLUDED
0002 #define BOOST_SMART_PTR_DETAIL_SP_HAS_SYNC_INTRINSICS_HPP_INCLUDED
0003
0004
0005
0006 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
0007 # pragma once
0008 #endif
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #if !defined( BOOST_SP_NO_SYNC_INTRINSICS ) && !defined( BOOST_SP_NO_SYNC )
0024
0025 #if defined( __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 ) && !defined( __c2__ )
0026
0027 # define BOOST_SP_HAS_SYNC_INTRINSICS
0028
0029 #elif defined( __IBMCPP__ ) && ( __IBMCPP__ >= 1210 ) && !defined( __COMPILER_VER__ )
0030
0031 # define BOOST_SP_HAS_SYNC_INTRINSICS
0032
0033 #elif defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __c2__ )
0034
0035 #define BOOST_SP_HAS_SYNC_INTRINSICS
0036
0037 #if defined( __arm__ ) || defined( __armel__ )
0038 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0039 #endif
0040
0041 #if defined( __hppa ) || defined( __hppa__ )
0042 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0043 #endif
0044
0045 #if defined( __m68k__ )
0046 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0047 #endif
0048
0049 #if defined( __sh__ )
0050 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0051 #endif
0052
0053 #if defined( __sparc__ )
0054 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0055 #endif
0056
0057 #if defined( __INTEL_COMPILER ) && !defined( __ia64__ ) && ( __INTEL_COMPILER < 1110 )
0058 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0059 #endif
0060
0061 #if defined(__PATHSCALE__) && ((__PATHCC__ == 4) && (__PATHCC_MINOR__ < 9))
0062 #undef BOOST_SP_HAS_SYNC_INTRINSICS
0063 #endif
0064
0065 #endif
0066
0067 #endif
0068
0069 #endif