vms.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. Copyright Rene Rivera 2011-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_OS_VMS_H
  8. #define BOOST_PREDEF_OS_VMS_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_OS_VMS`]
  13. [@http://en.wikipedia.org/wiki/Vms VMS] operating system.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`VMS`] [__predef_detection__]]
  17. [[`__VMS`] [__predef_detection__]]
  18. [[`__VMS_VER`] [V.R.P]]
  19. ]
  20. */
  21. #define BOOST_OS_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
  22. #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
  23. defined(VMS) || defined(__VMS) \
  24. )
  25. # undef BOOST_OS_VMS
  26. # if defined(__VMS_VER)
  27. # define BOOST_OS_VMS BOOST_PREDEF_MAKE_10_VVRR00PP00(__VMS_VER)
  28. # else
  29. # define BOOST_OS_VMS BOOST_VERSION_NUMBER_AVAILABLE
  30. # endif
  31. #endif
  32. #if BOOST_OS_VMS
  33. # define BOOST_OS_VMS_AVAILABLE
  34. # include <boost/predef/detail/os_detected.h>
  35. #endif
  36. #define BOOST_OS_VMS_NAME "VMS"
  37. #endif
  38. #include <boost/predef/detail/test.h>
  39. BOOST_PREDEF_DECLARE_TEST(BOOST_OS_VMS,BOOST_OS_VMS_NAME)