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)
8 #ifndef BOOST_PREDEF_OS_AIX_H
9 #define BOOST_PREDEF_OS_AIX_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 [heading `BOOST_OS_AIX`]
17 [@http://en.wikipedia.org/wiki/AIX_operating_system IBM AIX] operating system.
18 Version number available as major, minor, and patch.
21 [[__predef_symbol__] [__predef_version__]]
23 [[`_AIX`] [__predef_detection__]]
24 [[`__TOS_AIX__`] [__predef_detection__]]
33 #define BOOST_OS_AIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
35 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
36 defined(_AIX) || defined(__TOS_AIX__) \
39 # if !defined(BOOST_OS_AIX) && defined(_AIX43)
40 # define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,3,0)
42 # if !defined(BOOST_OS_AIX) && defined(_AIX41)
43 # define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,1,0)
45 # if !defined(BOOST_OS_AIX) && defined(_AIX32)
46 # define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,2,0)
48 # if !defined(BOOST_OS_AIX) && defined(_AIX3)
49 # define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,0,0)
51 # if !defined(BOOST_OS_AIX)
52 # define BOOST_OS_AIX BOOST_VERSION_NUMBER_AVAILABLE
57 # define BOOST_OS_AIX_AVAILABLE
58 # include <boost/predef/detail/os_detected.h>
61 #define BOOST_OS_AIX_NAME "IBM AIX"
65 #include <boost/predef/detail/test.h>
66 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AIX,BOOST_OS_AIX_NAME)