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_RS6K_H 9 #define BOOST_PREDEF_ARCHITECTURE_RS6K_H 10 11 #include <boost/predef/version_number.h> 12 #include <boost/predef/make.h> 13 14 /*` 15 [heading `BOOST_ARCH_RS6000`] 16 17 [@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture. 18 19 [table 20 [[__predef_symbol__] [__predef_version__]] 21 22 [[`__THW_RS6000`] [__predef_detection__]] 23 [[`_IBMR2`] [__predef_detection__]] 24 [[`_POWER`] [__predef_detection__]] 25 [[`_ARCH_PWR`] [__predef_detection__]] 26 [[`_ARCH_PWR2`] [__predef_detection__]] 27 ] 28 */ 29 30 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE 31 32 #if defined(__THW_RS6000) || defined(_IBMR2) || \ 33 defined(_POWER) || defined(_ARCH_PWR) || \ 34 defined(_ARCH_PWR2) 35 # undef BOOST_ARCH_RS6000 36 # define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE 37 #endif 38 39 #if BOOST_ARCH_RS6000 40 # define BOOST_ARCH_RS6000_AVAILABLE 41 #endif 42 43 #define BOOST_ARCH_RS6000_NAME "RS/6000" 44 45 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000 46 47 #if BOOST_ARCH_PWR 48 # define BOOST_ARCH_PWR_AVAILABLE 49 #endif 50 51 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME 52 53 #endif 54 55 #include <boost/predef/detail/test.h> 56 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME) 57