1 | /* |
2 | Copyright Rene Rivera 2011-2013 |
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 BOOST_PREDEF_OS_OS400_H |
9 | #define BOOST_PREDEF_OS_OS400_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_OS_OS400`] |
16 | |
17 | [@http://en.wikipedia.org/wiki/IBM_i IBM OS/400] operating system. |
18 | |
19 | [table |
20 | [[__predef_symbol__] [__predef_version__]] |
21 | |
22 | [[`__OS400__`] [__predef_detection__]] |
23 | ] |
24 | */ |
25 | |
26 | #define BOOST_OS_OS400 BOOST_VERSION_NUMBER_NOT_AVAILABLE |
27 | |
28 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
29 | defined(__OS400__) \ |
30 | ) |
31 | # undef BOOST_OS_OS400 |
32 | # define BOOST_OS_OS400 BOOST_VERSION_NUMBER_AVAILABLE |
33 | #endif |
34 | |
35 | #if BOOST_OS_OS400 |
36 | # define BOOST_OS_OS400_AVAILABLE |
37 | # include <boost/predef/detail/os_detected.h> |
38 | #endif |
39 | |
40 | #define BOOST_OS_OS400_NAME "IBM OS/400" |
41 | |
42 | #include <boost/predef/detail/test.h> |
43 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_OS400,BOOST_OS_OS400_NAME) |
44 | |
45 | |
46 | #endif |
47 | |