File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_ARCHITECTURE_SPARC_H
0009 #define BOOST_PREDEF_ARCHITECTURE_SPARC_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0034
0035 #if defined(__sparc__) || defined(__sparc)
0036 # undef BOOST_ARCH_SPARC
0037 # if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__))
0038 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0)
0039 # endif
0040 # if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__))
0041 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
0042 # endif
0043 # if !defined(BOOST_ARCH_SPARC)
0044 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_AVAILABLE
0045 # endif
0046 #endif
0047
0048 #if BOOST_ARCH_SPARC
0049 # define BOOST_ARCH_SPARC_AVAILABLE
0050 #endif
0051
0052 #if BOOST_ARCH_SPARC
0053 # if BOOST_ARCH_SPARC >= BOOST_VERSION_NUMBER(9,0,0)
0054 # undef BOOST_ARCH_WORD_BITS_64
0055 # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
0056 # else
0057 # undef BOOST_ARCH_WORD_BITS_32
0058 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0059 # endif
0060 #endif
0061
0062 #define BOOST_ARCH_SPARC_NAME "SPARC"
0063
0064 #endif
0065
0066 #include <boost/predef/detail/test.h>
0067 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SPARC,BOOST_ARCH_SPARC_NAME)