2010-05-22 20:20:04 +00:00
|
|
|
/*
|
2015-07-01 17:19:29 -05:00
|
|
|
Copyright Rene Rivera 2008-2015
|
2010-05-22 20:20:04 +00:00
|
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
*/
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#ifndef BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
|
|
|
|
|
#define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2013-03-18 23:06:06 -05:00
|
|
|
#include <boost/predef/library/std/_prefix.h>
|
|
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#include <boost/predef/version_number.h>
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/make.h>
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2019-12-31 16:14:17 -06:00
|
|
|
/* tag::reference[]
|
|
|
|
|
= `BOOST_LIB_STD_DINKUMWARE`
|
2011-11-30 05:54:23 +00:00
|
|
|
|
2019-12-31 16:14:17 -06:00
|
|
|
http://en.wikipedia.org/wiki/Dinkumware[Dinkumware] Standard {CPP} Library.
|
2011-11-30 05:54:23 +00:00
|
|
|
If available version number as major, minor, and patch.
|
2012-07-15 03:37:23 +00:00
|
|
|
|
2019-12-31 16:14:17 -06:00
|
|
|
[options="header"]
|
|
|
|
|
|===
|
|
|
|
|
| {predef_symbol} | {predef_version}
|
2012-07-15 03:37:23 +00:00
|
|
|
|
2019-12-31 16:14:17 -06:00
|
|
|
| `+_YVALS+`, `+__IBMCPP__+` | {predef_detection}
|
|
|
|
|
| `+_CPPLIB_VER+` | {predef_detection}
|
2012-07-15 03:37:23 +00:00
|
|
|
|
2019-12-31 16:14:17 -06:00
|
|
|
| `+_CPPLIB_VER+` | V.R.0
|
|
|
|
|
|===
|
|
|
|
|
*/ // end::reference[]
|
2011-11-30 05:54:23 +00:00
|
|
|
|
2013-01-18 21:25:30 -06:00
|
|
|
#define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
2008-04-04 18:47:29 +00:00
|
|
|
|
|
|
|
|
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
|
2012-07-15 03:37:23 +00:00
|
|
|
# undef BOOST_LIB_STD_DINKUMWARE
|
|
|
|
|
# if defined(_CPPLIB_VER)
|
|
|
|
|
# define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
|
|
|
|
|
# else
|
2013-01-18 21:25:30 -06:00
|
|
|
# define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE
|
2012-07-15 03:37:23 +00:00
|
|
|
# endif
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
2013-01-18 21:25:30 -06:00
|
|
|
#if BOOST_LIB_STD_DINKUMWARE
|
|
|
|
|
# define BOOST_LIB_STD_DINKUMWARE_AVAILABLE
|
|
|
|
|
#endif
|
|
|
|
|
|
2012-07-15 03:37:23 +00:00
|
|
|
#define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
|
|
|
|
|
|
2015-06-29 18:49:33 -05:00
|
|
|
#endif
|
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/detail/test.h>
|
2012-07-15 03:37:23 +00:00
|
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE,BOOST_LIB_STD_DINKUMWARE_NAME)
|