github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/predef/architecture/ppc.h (about) 1 /* 2 Copyright Rene Rivera 2008-2015 3 Distributed under the Boost Software License, Version 1.0. 4 (See accompanying file LICENSE_1_0.txt or copy at 5 http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 8 #ifndef BOOST_PREDEF_ARCHITECTURE_PPC_H 9 #define BOOST_PREDEF_ARCHITECTURE_PPC_H 10 11 #include <boost/predef/version_number.h> 12 #include <boost/predef/make.h> 13 14 /* tag::reference[] 15 = `BOOST_ARCH_PPC` 16 17 http://en.wikipedia.org/wiki/PowerPC[PowerPC] architecture. 18 19 [options="header"] 20 |=== 21 | {predef_symbol} | {predef_version} 22 23 | `+__powerpc+` | {predef_detection} 24 | `+__powerpc__+` | {predef_detection} 25 | `+__powerpc64__+` | {predef_detection} 26 | `+__POWERPC__+` | {predef_detection} 27 | `+__ppc__+` | {predef_detection} 28 | `+__ppc64__+` | {predef_detection} 29 | `+__PPC__+` | {predef_detection} 30 | `+__PPC64__+` | {predef_detection} 31 | `+_M_PPC+` | {predef_detection} 32 | `+_ARCH_PPC+` | {predef_detection} 33 | `+_ARCH_PPC64+` | {predef_detection} 34 | `+__PPCGECKO__+` | {predef_detection} 35 | `+__PPCBROADWAY__+` | {predef_detection} 36 | `+_XENON+` | {predef_detection} 37 | `+__ppc+` | {predef_detection} 38 39 | `+__ppc601__+` | 6.1.0 40 | `+_ARCH_601+` | 6.1.0 41 | `+__ppc603__+` | 6.3.0 42 | `+_ARCH_603+` | 6.3.0 43 | `+__ppc604__+` | 6.4.0 44 | `+__ppc604__+` | 6.4.0 45 |=== 46 */ // end::reference[] 47 48 #define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE 49 50 #if defined(__powerpc) || defined(__powerpc__) || defined(__powerpc64__) || \ 51 defined(__POWERPC__) || defined(__ppc__) || defined(__ppc64__) || \ 52 defined(__PPC__) || defined(__PPC64__) || \ 53 defined(_M_PPC) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ 54 defined(__PPCGECKO__) || defined(__PPCBROADWAY__) || \ 55 defined(_XENON) || \ 56 defined(__ppc) 57 # undef BOOST_ARCH_PPC 58 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc601__) || defined(_ARCH_601)) 59 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,1,0) 60 # endif 61 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc603__) || defined(_ARCH_603)) 62 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,3,0) 63 # endif 64 # if !defined (BOOST_ARCH_PPC) && (defined(__ppc604__) || defined(__ppc604__)) 65 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,4,0) 66 # endif 67 # if !defined (BOOST_ARCH_PPC) 68 # define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_AVAILABLE 69 # endif 70 #endif 71 72 #if BOOST_ARCH_PPC 73 # define BOOST_ARCH_PPC_AVAILABLE 74 #endif 75 76 #define BOOST_ARCH_PPC_NAME "PowerPC" 77 78 79 /* tag::reference[] 80 = `BOOST_ARCH_PPC_64` 81 82 http://en.wikipedia.org/wiki/PowerPC[PowerPC] 64 bit architecture. 83 84 [options="header"] 85 |=== 86 | {predef_symbol} | {predef_version} 87 88 | `+__powerpc64__+` | {predef_detection} 89 | `+__ppc64__+` | {predef_detection} 90 | `+__PPC64__+` | {predef_detection} 91 | `+_ARCH_PPC64+` | {predef_detection} 92 |=== 93 */ // end::reference[] 94 95 #define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE 96 97 #if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \ 98 defined(_ARCH_PPC64) 99 # undef BOOST_ARCH_PPC_64 100 # define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_AVAILABLE 101 #endif 102 103 #if BOOST_ARCH_PPC_64 104 # define BOOST_ARCH_PPC_64_AVAILABLE 105 #endif 106 107 #define BOOST_ARCH_PPC_64_NAME "PowerPC64" 108 109 110 #if BOOST_ARCH_PPC_64 111 # undef BOOST_ARCH_WORD_BITS_64 112 # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE 113 #else 114 # undef BOOST_ARCH_WORD_BITS_32 115 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE 116 #endif 117 118 #endif 119 120 #include <boost/predef/detail/test.h> 121 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC,BOOST_ARCH_PPC_NAME) 122 123 #include <boost/predef/detail/test.h> 124 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC_64,BOOST_ARCH_PPC_64_NAME)