vms.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Copyright Redshift Software, Inc. 2008-2013
  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. /*`
  13. [heading `BOOST_LIB_C_VMS`]
  14. VMS libc Standard C library.
  15. Version number available as major, minor, and patch.
  16. [table
  17. [[__predef_symbol__] [__predef_version__]]
  18. [[`__CRTL_VER`] [__predef_detection__]]
  19. [[`__CRTL_VER`] [V.R.P]]
  20. ]
  21. */
  22. #define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
  23. #if defined(__CRTL_VER)
  24. # undef BOOST_LIB_C_VMS
  25. # define BOOST_LIB_C_VMS BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER)
  26. #endif
  27. #if BOOST_LIB_C_VMS
  28. # define BOOST_LIB_C_VMS_AVAILABLE
  29. #endif
  30. #define BOOST_LIB_C_VMS_NAME "VMS"
  31. #include <boost/predef/detail/test.h>
  32. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_VMS,BOOST_LIB_C_VMS_NAME)
  33. #endif