File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_ARCHITECTURE_PPC_H
0009 #define BOOST_PREDEF_ARCHITECTURE_PPC_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
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048 #define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0049
0050 #if defined(__powerpc) || defined(__powerpc__) || defined(__powerpc64__) || \
0051 defined(__POWERPC__) || defined(__ppc__) || defined(__ppc64__) || \
0052 defined(__PPC__) || defined(__PPC64__) || \
0053 defined(_M_PPC) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
0054 defined(__PPCGECKO__) || defined(__PPCBROADWAY__) || \
0055 defined(_XENON) || \
0056 defined(__ppc)
0057 # undef BOOST_ARCH_PPC
0058 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc601__) || defined(_ARCH_601))
0059 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,1,0)
0060 # endif
0061 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc603__) || defined(_ARCH_603))
0062 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,3,0)
0063 # endif
0064 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc604__) || defined(__ppc604__))
0065 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,4,0)
0066 # endif
0067 # if !defined (BOOST_ARCH_PPC)
0068 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_AVAILABLE
0069 # endif
0070 #endif
0071
0072 #if BOOST_ARCH_PPC
0073 # define BOOST_ARCH_PPC_AVAILABLE
0074 #endif
0075
0076 #define BOOST_ARCH_PPC_NAME "PowerPC"
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095 #define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
0096
0097 #if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \
0098 defined(_ARCH_PPC64)
0099 # undef BOOST_ARCH_PPC_64
0100 # define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_AVAILABLE
0101 #endif
0102
0103 #if BOOST_ARCH_PPC_64
0104 # define BOOST_ARCH_PPC_64_AVAILABLE
0105 #endif
0106
0107 #define BOOST_ARCH_PPC_64_NAME "PowerPC64"
0108
0109
0110 #if BOOST_ARCH_PPC_64
0111 # undef BOOST_ARCH_WORD_BITS_64
0112 # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
0113 #else
0114 # undef BOOST_ARCH_WORD_BITS_32
0115 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0116 #endif
0117
0118 #endif
0119
0120 #include <boost/predef/detail/test.h>
0121 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC,BOOST_ARCH_PPC_NAME)
0122
0123 #include <boost/predef/detail/test.h>
0124 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC_64,BOOST_ARCH_PPC_64_NAME)