/* Copyright Redshift Software, Inc. 2008-2012 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_ARCHITECTURE_ARM_H #define BOOST_PREDEF_ARCHITECTURE_ARM_H #include #include /*` [heading `BOOST_ARCH_ARM`] [@http://en.wikipedia.org/wiki/ARM_architecture ARM] architecture. [table [[__predef_symbol__] [__predef_version__]] [[``] [__predef_detection__]] [[``] [V.R.P]] ] */ #define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(0,0,0) #if defined(__arm__) || defined(__thumb__) || \ defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARCH_THUMB) # undef BOOST_ARCH_ARM # if defined(__TARGET_ARCH_ARM) # define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_ARM,0,0) # elif defined(__TARGET_ARCH_THUMB) # define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0) # else # define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(0,0,1) # endif #endif #define BOOST_ARCH_ARM_NAME "ARM" #include BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_ARM,BOOST_ARCH_ARM_NAME) #endif