vms.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_C_VMS_H
  8. #define BOOST_PREDEF_LIBRARY_C_VMS_H
  9. #include <boost/predef/library/c/_prefix.h>
  10. #include <boost/predef/version_number.h>
  11. #include <boost/predef/make.h>
  12. /* tag::reference[]
  13. = `BOOST_LIB_C_VMS`
  14. VMS libc Standard C library.
  15. Version number available as major, minor, and patch.
  16. [options="header"]
  17. |===
  18. | {predef_symbol} | {predef_version}
  19. | `+__CRTL_VER+` | {predef_detection}
  20. | `+__CRTL_VER+` | V.R.P
  21. |===
  22. */ // end::reference[]
  23. #define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
  24. #if defined(__CRTL_VER)
  25. # undef BOOST_LIB_C_VMS
  26. # define BOOST_LIB_C_VMS BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER)
  27. #endif
  28. #if BOOST_LIB_C_VMS
  29. # define BOOST_LIB_C_VMS_AVAILABLE
  30. #endif
  31. #define BOOST_LIB_C_VMS_NAME "VMS"
  32. #endif
  33. #include <boost/predef/detail/test.h>
  34. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_VMS,BOOST_LIB_C_VMS_NAME)