dinkumware.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
  8. #define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
  9. #include <boost/predef/library/std/_prefix.h>
  10. #include <boost/predef/version_number.h>
  11. #include <boost/predef/make.h>
  12. /*`
  13. [heading `BOOST_LIB_STD_DINKUMWARE`]
  14. [@http://en.wikipedia.org/wiki/Dinkumware Dinkumware] Standard C++ Library.
  15. If available version number as major, minor, and patch.
  16. [table
  17. [[__predef_symbol__] [__predef_version__]]
  18. [[`_YVALS`, `__IBMCPP__`] [__predef_detection__]]
  19. [[`_CPPLIB_VER`] [__predef_detection__]]
  20. [[`_CPPLIB_VER`] [V.R.0]]
  21. ]
  22. */
  23. #define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
  24. #if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
  25. # undef BOOST_LIB_STD_DINKUMWARE
  26. # if defined(_CPPLIB_VER)
  27. # define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
  28. # else
  29. # define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE
  30. # endif
  31. #endif
  32. #if BOOST_LIB_STD_DINKUMWARE
  33. # define BOOST_LIB_STD_DINKUMWARE_AVAILABLE
  34. #endif
  35. #define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
  36. #endif
  37. #include <boost/predef/detail/test.h>
  38. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE,BOOST_LIB_STD_DINKUMWARE_NAME)