MessagePack for C
aix.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_OS_AIX_H
9 #define MSGPACK_PREDEF_OS_AIX_H
10 
12 #include <msgpack/predef/make.h>
13 
14 /*`
15 [heading `MSGPACK_OS_AIX`]
16 
17 [@http://en.wikipedia.org/wiki/AIX_operating_system IBM AIX] operating system.
18 Version number available as major, minor, and patch.
19 
20 [table
21  [[__predef_symbol__] [__predef_version__]]
22 
23  [[`_AIX`] [__predef_detection__]]
24  [[`__TOS_AIX__`] [__predef_detection__]]
25 
26  [[`_AIX43`] [4.3.0]]
27  [[`_AIX41`] [4.1.0]]
28  [[`_AIX32`] [3.2.0]]
29  [[`_AIX3`] [3.0.0]]
30  ]
31  */
32 
33 #define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
34 
35 #if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
36  defined(_AIX) || defined(__TOS_AIX__) \
37  )
38 # undef MSGPACK_OS_AIX
39 # if !defined(MSGPACK_OS_AIX) && defined(_AIX43)
40 # define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER(4,3,0)
41 # endif
42 # if !defined(MSGPACK_OS_AIX) && defined(_AIX41)
43 # define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER(4,1,0)
44 # endif
45 # if !defined(MSGPACK_OS_AIX) && defined(_AIX32)
46 # define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER(3,2,0)
47 # endif
48 # if !defined(MSGPACK_OS_AIX) && defined(_AIX3)
49 # define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER(3,0,0)
50 # endif
51 # if !defined(MSGPACK_OS_AIX)
52 # define MSGPACK_OS_AIX MSGPACK_VERSION_NUMBER_AVAILABLE
53 # endif
54 #endif
55 
56 #if MSGPACK_OS_AIX
57 # define MSGPACK_OS_AIX_AVAILABLE
59 #endif
60 
61 #define MSGPACK_OS_AIX_NAME "IBM AIX"
62 
63 #endif
64 
#define MSGPACK_OS_AIX_NAME
Definition: aix.h:61
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_OS_AIX
Definition: aix.h:33