]>
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_TENDRA_H | |
9 | #define BOOST_PREDEF_COMPILER_TENDRA_H | |
10 | ||
11 | #include <boost/predef/version_number.h> | |
12 | #include <boost/predef/make.h> | |
13 | ||
f67539c2 TL |
14 | /* tag::reference[] |
15 | = `BOOST_COMP_TENDRA` | |
7c673cae | 16 | |
f67539c2 | 17 | http://en.wikipedia.org/wiki/TenDRA_Compiler[TenDRA C/{CPP}] compiler. |
7c673cae | 18 | |
f67539c2 TL |
19 | [options="header"] |
20 | |=== | |
21 | | {predef_symbol} | {predef_version} | |
7c673cae | 22 | |
f67539c2 TL |
23 | | `+__TenDRA__+` | {predef_detection} |
24 | |=== | |
25 | */ // end::reference[] | |
7c673cae FG |
26 | |
27 | #define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
28 | ||
29 | #if defined(__TenDRA__) | |
30 | # define BOOST_COMP_TENDRA_DETECTION BOOST_VERSION_NUMBER_AVAILABLE | |
31 | #endif | |
32 | ||
33 | #ifdef BOOST_COMP_TENDRA_DETECTION | |
34 | # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) | |
35 | # define BOOST_COMP_TENDRA_EMULATED BOOST_COMP_TENDRA_DETECTION | |
36 | # else | |
37 | # undef BOOST_COMP_TENDRA | |
38 | # define BOOST_COMP_TENDRA BOOST_COMP_TENDRA_DETECTION | |
39 | # endif | |
40 | # define BOOST_COMP_TENDRA_AVAILABLE | |
41 | # include <boost/predef/detail/comp_detected.h> | |
42 | #endif | |
43 | ||
44 | #define BOOST_COMP_TENDRA_NAME "TenDRA C/C++" | |
45 | ||
46 | #endif | |
47 | ||
48 | #include <boost/predef/detail/test.h> | |
49 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_TENDRA,BOOST_COMP_TENDRA_NAME) | |
50 | ||
51 | #ifdef BOOST_COMP_TENDRA_EMULATED | |
52 | #include <boost/predef/detail/test.h> | |
53 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_TENDRA_EMULATED,BOOST_COMP_TENDRA_NAME) | |
54 | #endif |