]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
8 | #ifndef BOOST_PREDEF_COMPILER_METAWARE_H | |
9 | #define BOOST_PREDEF_COMPILER_METAWARE_H | |
10 | ||
11 | #include <boost/predef/version_number.h> | |
12 | #include <boost/predef/make.h> | |
13 | ||
14 | /*` | |
15 | [heading `BOOST_COMP_HIGHC`] | |
16 | ||
17 | MetaWare High C/C++ compiler. | |
18 | ||
19 | [table | |
20 | [[__predef_symbol__] [__predef_version__]] | |
21 | ||
22 | [[`__HIGHC__`] [__predef_detection__]] | |
23 | ] | |
24 | */ | |
25 | ||
26 | #define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
27 | ||
28 | #if defined(__HIGHC__) | |
29 | # define BOOST_COMP_HIGHC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE | |
30 | #endif | |
31 | ||
32 | #ifdef BOOST_COMP_HIGHC_DETECTION | |
33 | # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) | |
34 | # define BOOST_COMP_HIGHC_EMULATED BOOST_COMP_HIGHC_DETECTION | |
35 | # else | |
36 | # undef BOOST_COMP_HIGHC | |
37 | # define BOOST_COMP_HIGHC BOOST_COMP_HIGHC_DETECTION | |
38 | # endif | |
39 | # define BOOST_COMP_HIGHC_AVAILABLE | |
40 | # include <boost/predef/detail/comp_detected.h> | |
41 | #endif | |
42 | ||
43 | #define BOOST_COMP_HIGHC_NAME "MetaWare High C/C++" | |
44 | ||
45 | #endif | |
46 | ||
47 | #include <boost/predef/detail/test.h> | |
48 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HIGHC,BOOST_COMP_HIGHC_NAME) | |
49 | ||
50 | #ifdef BOOST_COMP_HIGHC_EMULATED | |
51 | #include <boost/predef/detail/test.h> | |
52 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HIGHC_EMULATED,BOOST_COMP_HIGHC_NAME) | |
53 | #endif |