roguewave.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_ROGUEWAVE_H
  8. #define BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
  9. #include <boost/predef/library/std/_prefix.h>
  10. #include <boost/predef/version_number.h>
  11. #include <boost/predef/make.h>
  12. /* tag::reference[]
  13. = `BOOST_LIB_STD_RW`
  14. http://stdcxx.apache.org/[Roguewave] Standard {CPP} library.
  15. If available version number as major, minor, and patch.
  16. [options="header"]
  17. |===
  18. | {predef_symbol} | {predef_version}
  19. | `+__STD_RWCOMPILER_H__+` | {predef_detection}
  20. | `+_RWSTD_VER+` | {predef_detection}
  21. | `+_RWSTD_VER+` | V.R.P
  22. |===
  23. */ // end::reference[]
  24. #define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_NOT_AVAILABLE
  25. #if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
  26. # undef BOOST_LIB_STD_RW
  27. # if defined(_RWSTD_VER)
  28. # if _RWSTD_VER < 0x010000
  29. # define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRP(_RWSTD_VER)
  30. # else
  31. # define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
  32. # endif
  33. # else
  34. # define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_AVAILABLE
  35. # endif
  36. #endif
  37. #if BOOST_LIB_STD_RW
  38. # define BOOST_LIB_STD_RW_AVAILABLE
  39. #endif
  40. #define BOOST_LIB_STD_RW_NAME "Roguewave"
  41. #endif
  42. #include <boost/predef/detail/test.h>
  43. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_RW,BOOST_LIB_STD_RW_NAME)