]> git.donarmstrong.com Git - rsem.git/blob - boost/predef/architecture/arm.h
Updated boost to v1.55.0
[rsem.git] / boost / predef / architecture / arm.h
1 /*
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)
6 */
7
8 #ifndef BOOST_PREDEF_ARCHITECTURE_ARM_H
9 #define BOOST_PREDEF_ARCHITECTURE_ARM_H
10
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
13
14 /*`
15 [heading `BOOST_ARCH_ARM`]
16
17 [@http://en.wikipedia.org/wiki/ARM_architecture ARM] architecture.
18
19 [table
20     [[__predef_symbol__] [__predef_version__]]
21
22     [[`__arm__`] [__predef_detection__]]
23     [[`__thumb__`] [__predef_detection__]]
24     [[`__TARGET_ARCH_ARM`] [__predef_detection__]]
25     [[`__TARGET_ARCH_THUMB`] [__predef_detection__]]
26
27     [[`__TARGET_ARCH_ARM`] [V.0.0]]
28     [[`__TARGET_ARCH_THUMB`] [V.0.0]]
29     ]
30  */
31
32 #define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
33
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)
39 #   endif
40 #   if !defined(BOOST_ARCH_ARM) && defined(__TARGET_ARCH_THUMB)
41 #       define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0)
42 #   endif
43 #   if !defined(BOOST_ARCH_ARM)
44 #       define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_AVAILABLE
45 #   endif
46 #endif
47
48 #if BOOST_ARCH_ARM
49 #   define BOOST_ARCH_ARM_AVAILABLE
50 #endif
51
52 #define BOOST_ARCH_ARM_NAME "ARM"
53
54 #include <boost/predef/detail/test.h>
55 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_ARM,BOOST_ARCH_ARM_NAME)
56
57
58 #endif