1 | /* |
2 | Copyright Rene Rivera 2008-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_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 | /*` |
17 | [heading `BOOST_LIB_STD_DINKUMWARE`] |
18 | |
19 | [@http://en.wikipedia.org/wiki/Dinkumware Dinkumware] Standard C++ Library. |
20 | If available version number as major, minor, and patch. |
21 | |
22 | [table |
23 | [[__predef_symbol__] [__predef_version__]] |
24 | |
25 | [[`_YVALS`, `__IBMCPP__`] [__predef_detection__]] |
26 | [[`_CPPLIB_VER`] [__predef_detection__]] |
27 | |
28 | [[`_CPPLIB_VER`] [V.R.0]] |
29 | ] |
30 | */ |
31 | |
32 | #define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE |
33 | |
34 | #if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER) |
35 | # undef BOOST_LIB_STD_DINKUMWARE |
36 | # if defined(_CPPLIB_VER) |
37 | # define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER) |
38 | # else |
39 | # define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE |
40 | # endif |
41 | #endif |
42 | |
43 | #if BOOST_LIB_STD_DINKUMWARE |
44 | # define BOOST_LIB_STD_DINKUMWARE_AVAILABLE |
45 | #endif |
46 | |
47 | #define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware" |
48 | |
49 | #include <boost/predef/detail/test.h> |
50 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE,BOOST_LIB_STD_DINKUMWARE_NAME) |
51 | |
52 | |
53 | #endif |
54 | |