~ubuntu-branches/ubuntu/wily/davix/wily

« back to all changes in this revision

Viewing changes to deps/boost_intern/boost/predef/architecture/arm.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2015-07-31 13:17:55 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20150731131755-mizprbmn7ogv33te
Tags: 0.4.1-1
* Update to version 0.4.1
* Implement Multi-Arch support

Show diffs side-by-side

added added

removed removed

Lines of Context:
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