1/*
2Copyright Rene Rivera 2008-2014
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_COMPILER_MICROTEC_H
9#define BOOST_PREDEF_COMPILER_MICROTEC_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
14/*`
15[heading `BOOST_COMP_MRI`]
16
17[@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
18
19[table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`_MRI`] [__predef_detection__]]
23 ]
24 */
25
26#define BOOST_COMP_MRI BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28#if defined(_MRI)
29# define BOOST_COMP_MRI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
30#endif
31
32#ifdef BOOST_COMP_MRI_DETECTION
33# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
34# define BOOST_COMP_MRI_EMULATED BOOST_COMP_MRI_DETECTION
35# else
36# undef BOOST_COMP_MRI
37# define BOOST_COMP_MRI BOOST_COMP_MRI_DETECTION
38# endif
39# define BOOST_COMP_MRI_AVAILABLE
40# include <boost/predef/detail/comp_detected.h>
41#endif
42
43#define BOOST_COMP_MRI_NAME "Microtec C/C++"
44
45#include <boost/predef/detail/test.h>
46BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI,BOOST_COMP_MRI_NAME)
47
48#ifdef BOOST_COMP_MRI_EMULATED
49#include <boost/predef/detail/test.h>
50BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI_EMULATED,BOOST_COMP_MRI_NAME)
51#endif
52
53
54#endif
55