2
Copyright Redshift Software, Inc. 2008-2013
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)
8
#ifndef BOOST_PREDEF_ARCHITECTURE_ARM_H
9
#define BOOST_PREDEF_ARCHITECTURE_ARM_H
11
#include <boost/predef/version_number.h>
12
#include <boost/predef/make.h>
15
[heading `BOOST_ARCH_ARM`]
17
[@http://en.wikipedia.org/wiki/ARM_architecture ARM] architecture.
20
[[__predef_symbol__] [__predef_version__]]
22
[[`__arm__`] [__predef_detection__]]
23
[[`__thumb__`] [__predef_detection__]]
24
[[`__TARGET_ARCH_ARM`] [__predef_detection__]]
25
[[`__TARGET_ARCH_THUMB`] [__predef_detection__]]
27
[[`__TARGET_ARCH_ARM`] [V.0.0]]
28
[[`__TARGET_ARCH_THUMB`] [V.0.0]]
32
#define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
34
#if defined(__arm__) || defined(__thumb__) || \
35
defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARCH_THUMB)
36
# undef BOOST_ARCH_ARM
37
# if !defined(BOOST_ARCH_ARM) && defined(__TARGET_ARCH_ARM)
38
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_ARM,0,0)
40
# if !defined(BOOST_ARCH_ARM) && defined(__TARGET_ARCH_THUMB)
41
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0)
43
# if !defined(BOOST_ARCH_ARM)
44
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_AVAILABLE
49
# define BOOST_ARCH_ARM_AVAILABLE
52
#define BOOST_ARCH_ARM_NAME "ARM"
54
#include <boost/predef/detail/test.h>
55
BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_ARM,BOOST_ARCH_ARM_NAME)