github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/predef/architecture/alpha.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_ALPHA_H 9 #define BOOST_PREDEF_ARCHITECTURE_ALPHA_H 10 11 #include <boost/predef/version_number.h> 12 #include <boost/predef/make.h> 13 14 /* tag::reference[] 15 = `BOOST_ARCH_ALPHA` 16 17 http://en.wikipedia.org/wiki/DEC_Alpha[DEC Alpha] architecture. 18 19 [options="header"] 20 |=== 21 | {predef_symbol} | {predef_version} 22 | `+__alpha__+` | {predef_detection} 23 | `+__alpha+` | {predef_detection} 24 | `+_M_ALPHA+` | {predef_detection} 25 26 | `+__alpha_ev4__+` | 4.0.0 27 | `+__alpha_ev5__+` | 5.0.0 28 | `+__alpha_ev6__+` | 6.0.0 29 |=== 30 */ // end::reference[] 31 32 #define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER_NOT_AVAILABLE 33 34 #if defined(__alpha__) || defined(__alpha) || \ 35 defined(_M_ALPHA) 36 # undef BOOST_ARCH_ALPHA 37 # if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev4__) 38 # define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(4,0,0) 39 # endif 40 # if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev5__) 41 # define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(5,0,0) 42 # endif 43 # if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev6__) 44 # define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(6,0,0) 45 # endif 46 # if !defined(BOOST_ARCH_ALPHA) 47 # define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER_AVAILABLE 48 # endif 49 #endif 50 51 #if BOOST_ARCH_ALPHA 52 # define BOOST_ARCH_ALPHA_AVAILABLE 53 #endif 54 55 #if BOOST_ARCH_ALPHA 56 # undef BOOST_ARCH_WORD_BITS_64 57 # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE 58 #endif 59 60 #define BOOST_ARCH_ALPHA_NAME "DEC Alpha" 61 62 #endif 63 64 #include <boost/predef/detail/test.h> 65 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_ALPHA,BOOST_ARCH_ALPHA_NAME)