MessagePack for C
convex.h
Go to the documentation of this file.
1 /*
2 Copyright Rene Rivera 2011-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_CONVEX_H
9 #define MSGPACK_PREDEF_ARCHITECTURE_CONVEX_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_ARCH_CONVEX`]
16 
17 [@http://en.wikipedia.org/wiki/Convex_Computer Convex Computer] architecture.
18 
19 [table
20  [[__predef_symbol__] [__predef_version__]]
21 
22  [[`__convex__`] [__predef_detection__]]
23 
24  [[`__convex_c1__`] [1.0.0]]
25  [[`__convex_c2__`] [2.0.0]]
26  [[`__convex_c32__`] [3.2.0]]
27  [[`__convex_c34__`] [3.4.0]]
28  [[`__convex_c38__`] [3.8.0]]
29  ]
30  */
31 
32 #define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
33 
34 #if defined(__convex__)
35 # undef MSGPACK_ARCH_CONVEX
36 # if !defined(MSGPACK_ARCH_CONVEX) && defined(__convex_c1__)
37 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER(1,0,0)
38 # endif
39 # if !defined(MSGPACK_ARCH_CONVEX) && defined(__convex_c2__)
40 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER(2,0,0)
41 # endif
42 # if !defined(MSGPACK_ARCH_CONVEX) && defined(__convex_c32__)
43 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER(3,2,0)
44 # endif
45 # if !defined(MSGPACK_ARCH_CONVEX) && defined(__convex_c34__)
46 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER(3,4,0)
47 # endif
48 # if !defined(MSGPACK_ARCH_CONVEX) && defined(__convex_c38__)
49 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER(3,8,0)
50 # endif
51 # if !defined(MSGPACK_ARCH_CONVEX)
52 # define MSGPACK_ARCH_CONVEX MSGPACK_VERSION_NUMBER_AVAILABLE
53 # endif
54 #endif
55 
56 #if MSGPACK_ARCH_CONVEX
57 # define MSGPACK_ARCH_CONVEX_AVAILABLE
58 #endif
59 
60 #define MSGPACK_ARCH_CONVEX_NAME "Convex Computer"
61 
62 #endif
63 
#define MSGPACK_ARCH_CONVEX
Definition: convex.h:32
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_ARCH_CONVEX_NAME
Definition: convex.h:60