microtec.h 936 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_MICROTEC_H
  8. #define BOOST_PREDEF_COMPILER_MICROTEC_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_COMP_MRI`]
  13. [@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`_MRI`] [__predef_detection__]]
  17. ]
  18. */
  19. #define BOOST_COMP_MRI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  20. #if defined(_MRI)
  21. # undef BOOST_COMP_MRI
  22. # define BOOST_COMP_MRI BOOST_VERSION_NUMBER_AVAILABLE
  23. #endif
  24. #if BOOST_COMP_MRI
  25. # define BOOST_COMP_MRI_AVAILABLE
  26. #endif
  27. #define BOOST_COMP_MRI_NAME "Microtec C/C++"
  28. #include <boost/predef/detail/test.h>
  29. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI,BOOST_COMP_MRI_NAME)
  30. #endif