Chris@16: /* Chris@101: Copyright Rene Rivera 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_BLACKFIN_H Chris@16: #define BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: /*` Chris@16: [heading `BOOST_ARCH_BLACKFIN`] Chris@16: Chris@16: Blackfin Processors from Analog Devices. Chris@16: Chris@16: [table Chris@16: [[__predef_symbol__] [__predef_version__]] Chris@16: Chris@16: [[`__bfin__`] [__predef_detection__]] Chris@16: [[`__BFIN__`] [__predef_detection__]] Chris@16: [[`bfin`] [__predef_detection__]] Chris@16: [[`BFIN`] [__predef_detection__]] Chris@16: ] Chris@16: */ Chris@16: Chris@16: #define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE Chris@16: Chris@16: #if defined(__bfin__) || defined(__BFIN__) || \ Chris@16: defined(bfin) || defined(BFIN) Chris@16: # undef BOOST_ARCH_BLACKFIN Chris@16: # define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_AVAILABLE Chris@16: #endif Chris@16: Chris@16: #if BOOST_ARCH_BLACKFIN Chris@16: # define BOOST_ARCH_BLACKFIN_AVAILABLE Chris@16: #endif Chris@16: Chris@16: #define BOOST_ARCH_BLACKFIN_NAME "Blackfin" Chris@16: Chris@16: #include Chris@16: BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_BLACKFIN,BOOST_ARCH_BLACKFIN_NAME) Chris@16: Chris@16: Chris@16: #endif