compaq.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_COMPILER_COMPAQ_H
  8. #define BOOST_PREDEF_COMPILER_COMPAQ_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_COMP_DEC`]
  13. [@http://www.openvms.compaq.com/openvms/brochures/deccplus/ Compaq C/C++] compiler.
  14. Version number available as major, minor, and patch.
  15. [table
  16. [[__predef_symbol__] [__predef_version__]]
  17. [[`__DECCXX`] [__predef_detection__]]
  18. [[`__DECC`] [__predef_detection__]]
  19. [[`__DECCXX_VER`] [V.R.P]]
  20. [[`__DECC_VER`] [V.R.P]]
  21. ]
  22. */
  23. #define BOOST_COMP_DEC BOOST_VERSION_NUMBER_NOT_AVAILABLE
  24. #if defined(__DECC) || defined(__DECCXX)
  25. # undef BOOST_COMP_DEC
  26. # if !defined(BOOST_COMP_DEC) && defined(__DECCXX_VER)
  27. # define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
  28. # endif
  29. # if !defined(BOOST_COMP_DEC) && defined(__DECC_VER)
  30. # define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
  31. # endif
  32. # if !defined(BOOST_COMP_DEC)
  33. # define BOOST_COM_DEV BOOST_VERSION_NUMBER_AVAILABLE
  34. # endif
  35. #endif
  36. #if BOOST_COMP_DEC
  37. # define BOOST_COMP_DEC_AVAILABLE
  38. #endif
  39. #define BOOST_COMP_DEC_NAME "Compaq C/C++"
  40. #include <boost/predef/detail/test.h>
  41. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC,BOOST_COMP_DEC_NAME)
  42. #endif