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_LIBRARY_STD_DINKUMWARE_H
9 #define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
11 #include <boost/predef/library/std/_prefix.h>
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
17 [heading `BOOST_LIB_STD_DINKUMWARE`]
19 [@http://en.wikipedia.org/wiki/Dinkumware Dinkumware] Standard C++ Library.
20 If available version number as major, minor, and patch.
23 [[__predef_symbol__] [__predef_version__]]
25 [[`_YVALS`, `__IBMCPP__`] [__predef_detection__]]
26 [[`_CPPLIB_VER`] [__predef_detection__]]
28 [[`_CPPLIB_VER`] [V.R.0]]
32 #define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
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)
39 # define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE
43 #if BOOST_LIB_STD_DINKUMWARE
44 # define BOOST_LIB_STD_DINKUMWARE_AVAILABLE
47 #define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
51 #include <boost/predef/detail/test.h>
52 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE
,BOOST_LIB_STD_DINKUMWARE_NAME
)