MessagePack for C
parisc.h
Go to the documentation of this file.
1 /*
2 Copyright Rene Rivera 2008-2015
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 MSGPACK_PREDEF_ARCHITECTURE_PARISC_H
9 #define MSGPACK_PREDEF_ARCHITECTURE_PARISC_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_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 MSGPACK_ARCH_PARISC MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
38 
39 #if defined(__hppa__) || defined(__hppa) || defined(__HPPA__)
40 # undef MSGPACK_ARCH_PARISC
41 # if !defined(MSGPACK_ARCH_PARISC) && (defined(_PA_RISC1_0))
42 # define MSGPACK_ARCH_PARISC MSGPACK_VERSION_NUMBER(1,0,0)
43 # endif
44 # if !defined(MSGPACK_ARCH_PARISC) && (defined(_PA_RISC1_1) || defined(__HPPA11__) || defined(__PA7100__))
45 # define MSGPACK_ARCH_PARISC MSGPACK_VERSION_NUMBER(1,1,0)
46 # endif
47 # if !defined(MSGPACK_ARCH_PARISC) && (defined(_PA_RISC2_0) || defined(__RISC2_0__) || defined(__HPPA20__) || defined(__PA8000__))
48 # define MSGPACK_ARCH_PARISC MSGPACK_VERSION_NUMBER(2,0,0)
49 # endif
50 # if !defined(MSGPACK_ARCH_PARISC)
51 # define MSGPACK_ARCH_PARISC MSGPACK_VERSION_NUMBER_AVAILABLE
52 # endif
53 #endif
54 
55 #if MSGPACK_ARCH_PARISC
56 # define MSGPACK_ARCH_PARISC_AVAILABLE
57 #endif
58 
59 #define MSGPACK_ARCH_PARISC_NAME "HP/PA RISC"
60 
61 #endif
62 
#define MSGPACK_ARCH_PARISC
Definition: parisc.h:37
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_ARCH_PARISC_NAME
Definition: parisc.h:59