Chris@16: /* Chris@101: Copyright Rene Rivera 2008-2013 Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENSE_1_0.txt or copy at Chris@16: http://www.boost.org/LICENSE_1_0.txt) Chris@16: */ Chris@16: Chris@16: #ifndef BOOST_PREDEF_ARCHITECTURE_RS6K_H Chris@16: #define BOOST_PREDEF_ARCHITECTURE_RS6K_H Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: /*` Chris@16: [heading `BOOST_ARCH_RS6000`] Chris@16: Chris@16: [@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture. Chris@16: Chris@16: [table Chris@16: [[__predef_symbol__] [__predef_version__]] Chris@16: Chris@16: [[`__THW_RS6000`] [__predef_detection__]] Chris@16: [[`_IBMR2`] [__predef_detection__]] Chris@16: [[`_POWER`] [__predef_detection__]] Chris@16: [[`_ARCH_PWR`] [__predef_detection__]] Chris@16: [[`_ARCH_PWR2`] [__predef_detection__]] Chris@16: ] Chris@16: */ Chris@16: Chris@16: #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE Chris@16: Chris@16: #if defined(__THW_RS6000) || defined(_IBMR2) || \ Chris@16: defined(_POWER) || defined(_ARCH_PWR) || \ Chris@16: defined(_ARCH_PWR2) Chris@16: # undef BOOST_ARCH_RS6000 Chris@16: # define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE Chris@16: #endif Chris@16: Chris@16: #if BOOST_ARCH_RS6000 Chris@16: # define BOOST_ARCH_RS6000_AVAILABLE Chris@16: #endif Chris@16: Chris@16: #define BOOST_ARCH_RS6000_NAME "RS/6000" Chris@16: Chris@16: #include Chris@16: BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME) Chris@16: Chris@16: #define BOOST_ARCH_PWR BOOST_ARCH_RS6000 Chris@16: Chris@16: #if BOOST_ARCH_PWR Chris@16: # define BOOST_ARCH_PWR_AVAILABLE Chris@16: #endif Chris@16: Chris@16: #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME Chris@16: Chris@16: #endif