MessagePack for C
rs6k.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_RS6K_H
9 #define MSGPACK_PREDEF_ARCHITECTURE_RS6K_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_ARCH_RS6000`]
16 
17 [@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture.
18 
19 [table
20  [[__predef_symbol__] [__predef_version__]]
21 
22  [[`__THW_RS6000`] [__predef_detection__]]
23  [[`_IBMR2`] [__predef_detection__]]
24  [[`_POWER`] [__predef_detection__]]
25  [[`_ARCH_PWR`] [__predef_detection__]]
26  [[`_ARCH_PWR2`] [__predef_detection__]]
27  ]
28  */
29 
30 #define MSGPACK_ARCH_RS6000 MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
31 
32 #if defined(__THW_RS6000) || defined(_IBMR2) || \
33  defined(_POWER) || defined(_ARCH_PWR) || \
34  defined(_ARCH_PWR2)
35 # undef MSGPACK_ARCH_RS6000
36 # define MSGPACK_ARCH_RS6000 MSGPACK_VERSION_NUMBER_AVAILABLE
37 #endif
38 
39 #if MSGPACK_ARCH_RS6000
40 # define MSGPACK_ARCH_RS6000_AVAILABLE
41 #endif
42 
43 #define MSGPACK_ARCH_RS6000_NAME "RS/6000"
44 
45 #define MSGPACK_ARCH_PWR MSGPACK_ARCH_RS6000
46 
47 #if MSGPACK_ARCH_PWR
48 # define MSGPACK_ARCH_PWR_AVAILABLE
49 #endif
50 
51 #define MSGPACK_ARCH_PWR_NAME MSGPACK_ARCH_RS6000_NAME
52 
53 #endif
54 
#define MSGPACK_ARCH_RS6000
Definition: rs6k.h:30
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_ARCH_RS6000_NAME
Definition: rs6k.h:43