]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/predef/os/aix.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / predef / os / aix.h
CommitLineData
7c673cae
FG
1/*
2Copyright Rene Rivera 2008-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_OS_AIX_H
9#define BOOST_PREDEF_OS_AIX_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
f67539c2
TL
14/* tag::reference[]
15= `BOOST_OS_AIX`
7c673cae 16
f67539c2 17http://en.wikipedia.org/wiki/AIX_operating_system[IBM AIX] operating system.
7c673cae
FG
18Version number available as major, minor, and patch.
19
f67539c2
TL
20[options="header"]
21|===
22| {predef_symbol} | {predef_version}
7c673cae 23
f67539c2
TL
24| `+_AIX+` | {predef_detection}
25| `+__TOS_AIX__+` | {predef_detection}
7c673cae 26
f67539c2
TL
27| `+_AIX43+` | 4.3.0
28| `+_AIX41+` | 4.1.0
29| `+_AIX32+` | 3.2.0
30| `+_AIX3+` | 3.0.0
31|===
32*/ // end::reference[]
7c673cae
FG
33
34#define BOOST_OS_AIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
35
36#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
37 defined(_AIX) || defined(__TOS_AIX__) \
38 )
39# undef BOOST_OS_AIX
40# if !defined(BOOST_OS_AIX) && defined(_AIX43)
41# define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,3,0)
42# endif
43# if !defined(BOOST_OS_AIX) && defined(_AIX41)
44# define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,1,0)
45# endif
46# if !defined(BOOST_OS_AIX) && defined(_AIX32)
47# define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,2,0)
48# endif
49# if !defined(BOOST_OS_AIX) && defined(_AIX3)
50# define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,0,0)
51# endif
52# if !defined(BOOST_OS_AIX)
53# define BOOST_OS_AIX BOOST_VERSION_NUMBER_AVAILABLE
54# endif
55#endif
56
57#if BOOST_OS_AIX
58# define BOOST_OS_AIX_AVAILABLE
59# include <boost/predef/detail/os_detected.h>
60#endif
61
62#define BOOST_OS_AIX_NAME "IBM AIX"
63
64#endif
65
66#include <boost/predef/detail/test.h>
67BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AIX,BOOST_OS_AIX_NAME)