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 BOOST_PREDEF_LIBRARY_STD_VACPP_H |
9 | #define BOOST_PREDEF_LIBRARY_STD_VACPP_H |
10 | |
11 | #include <boost/predef/library/std/_prefix.h> |
12 | |
13 | #include <boost/predef/version_number.h> |
14 | #include <boost/predef/make.h> |
15 | |
16 | /* tag::reference[] |
17 | = `BOOST_LIB_STD_IBM` |
18 | |
19 | http://www.ibm.com/software/awdtools/xlcpp/[IBM VACPP Standard {CPP}] library. |
20 | |
21 | [options="header"] |
22 | |=== |
23 | | {predef_symbol} | {predef_version} |
24 | |
25 | | `+__IBMCPP__+` | {predef_detection} |
26 | |=== |
27 | */ // end::reference[] |
28 | |
29 | #define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE |
30 | |
31 | #if defined(__IBMCPP__) |
32 | # undef BOOST_LIB_STD_IBM |
33 | # define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_AVAILABLE |
34 | #endif |
35 | |
36 | #if BOOST_LIB_STD_IBM |
37 | # define BOOST_LIB_STD_IBM_AVAILABLE |
38 | #endif |
39 | |
40 | #define BOOST_LIB_STD_IBM_NAME "IBM VACPP" |
41 | |
42 | #endif |
43 | |
44 | #include <boost/predef/detail/test.h> |
45 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_IBM,BOOST_LIB_STD_IBM_NAME) |
46 | |