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_DINKUMWARE_H |
9 | #define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_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_DINKUMWARE` |
18 | |
19 | http://en.wikipedia.org/wiki/Dinkumware[Dinkumware] Standard {CPP} Library. |
20 | If available version number as major, minor, and patch. |
21 | |
22 | [options="header"] |
23 | |=== |
24 | | {predef_symbol} | {predef_version} |
25 | |
26 | | `+_YVALS+`, `+__IBMCPP__+` | {predef_detection} |
27 | | `+_CPPLIB_VER+` | {predef_detection} |
28 | |
29 | | `+_CPPLIB_VER+` | V.R.0 |
30 | |=== |
31 | */ // end::reference[] |
32 | |
33 | #define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE |
34 | |
35 | #if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER) |
36 | # undef BOOST_LIB_STD_DINKUMWARE |
37 | # if defined(_CPPLIB_VER) |
38 | # define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER) |
39 | # else |
40 | # define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE |
41 | # endif |
42 | #endif |
43 | |
44 | #if BOOST_LIB_STD_DINKUMWARE |
45 | # define BOOST_LIB_STD_DINKUMWARE_AVAILABLE |
46 | #endif |
47 | |
48 | #define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware" |
49 | |
50 | #endif |
51 | |
52 | #include <boost/predef/detail/test.h> |
53 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE,BOOST_LIB_STD_DINKUMWARE_NAME) |
54 | |