vms.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. /*`
  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. #endif
  32. #include <boost/predef/detail/test.h>
  33. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_VMS,BOOST_LIB_C_VMS_NAME)