Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/predef/architecture/parisc.h @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
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_PARISC_H | |
9 #define BOOST_PREDEF_ARCHITECTURE_PARISC_H | |
10 | |
11 #include <boost/predef/version_number.h> | |
12 #include <boost/predef/make.h> | |
13 | |
14 /*` | |
15 [heading `BOOST_ARCH_PARISK`] | |
16 | |
17 [@http://en.wikipedia.org/wiki/PA-RISC_family HP/PA RISC] architecture. | |
18 | |
19 [table | |
20 [[__predef_symbol__] [__predef_version__]] | |
21 | |
22 [[`__hppa__`] [__predef_detection__]] | |
23 [[`__hppa`] [__predef_detection__]] | |
24 [[`__HPPA__`] [__predef_detection__]] | |
25 | |
26 [[`_PA_RISC1_0`] [1.0.0]] | |
27 [[`_PA_RISC1_1`] [1.1.0]] | |
28 [[`__HPPA11__`] [1.1.0]] | |
29 [[`__PA7100__`] [1.1.0]] | |
30 [[`_PA_RISC2_0`] [2.0.0]] | |
31 [[`__RISC2_0__`] [2.0.0]] | |
32 [[`__HPPA20__`] [2.0.0]] | |
33 [[`__PA8000__`] [2.0.0]] | |
34 ] | |
35 */ | |
36 | |
37 #define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
38 | |
39 #if defined(__hppa__) || defined(__hppa) || defined(__HPPA__) | |
40 # undef BOOST_ARCH_PARISC | |
41 # if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC1_0)) | |
42 # define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,0,0) | |
43 # endif | |
44 # if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC1_1) || defined(__HPPA11__) || defined(__PA7100__)) | |
45 # define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,1,0) | |
46 # endif | |
47 # if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC2_0) || defined(__RISC2_0__) || defined(__HPPA20__) || defined(__PA8000__)) | |
48 # define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(2,0,0) | |
49 # endif | |
50 # if !defined(BOOST_ARCH_PARISC) | |
51 # define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER_AVAILABLE | |
52 # endif | |
53 #endif | |
54 | |
55 #if BOOST_ARCH_PARISC | |
56 # define BOOST_ARCH_PARISC_AVAILABLE | |
57 #endif | |
58 | |
59 #define BOOST_ARCH_PARISC_NAME "HP/PA RISC" | |
60 | |
61 #include <boost/predef/detail/test.h> | |
62 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PARISC,BOOST_ARCH_PARISC_NAME) | |
63 | |
64 | |
65 #endif |