]>
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_DIGNUS_H | |
9 | #define BOOST_PREDEF_COMPILER_DIGNUS_H | |
10 | ||
11 | #include <boost/predef/version_number.h> | |
12 | #include <boost/predef/make.h> | |
13 | ||
f67539c2 TL |
14 | /* tag::reference[] |
15 | = `BOOST_COMP_SYSC` | |
7c673cae | 16 | |
f67539c2 | 17 | http://www.dignus.com/dcxx/[Dignus Systems/{CPP}] compiler. |
7c673cae FG |
18 | Version number available as major, minor, and patch. |
19 | ||
f67539c2 TL |
20 | [options="header"] |
21 | |=== | |
22 | | {predef_symbol} | {predef_version} | |
7c673cae | 23 | |
f67539c2 | 24 | | `+__SYSC__+` | {predef_detection} |
7c673cae | 25 | |
f67539c2 TL |
26 | | `+__SYSC_VER__+` | V.R.P |
27 | |=== | |
28 | */ // end::reference[] | |
7c673cae FG |
29 | |
30 | #define BOOST_COMP_SYSC BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
31 | ||
32 | #if defined(__SYSC__) | |
33 | # define BOOST_COMP_SYSC_DETECTION BOOST_PREDEF_MAKE_10_VRRPP(__SYSC_VER__) | |
34 | #endif | |
35 | ||
36 | #ifdef BOOST_COMP_SYSC_DETECTION | |
37 | # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) | |
38 | # define BOOST_COMP_SYSC_EMULATED BOOST_COMP_SYSC_DETECTION | |
39 | # else | |
40 | # undef BOOST_COMP_SYSC | |
41 | # define BOOST_COMP_SYSC BOOST_COMP_SYSC_DETECTION | |
42 | # endif | |
43 | # define BOOST_COMP_SYSC_AVAILABLE | |
44 | # include <boost/predef/detail/comp_detected.h> | |
45 | #endif | |
46 | ||
47 | #define BOOST_COMP_SYSC_NAME "Dignus Systems/C++" | |
48 | ||
49 | #endif | |
50 | ||
51 | #include <boost/predef/detail/test.h> | |
52 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SYSC,BOOST_COMP_SYSC_NAME) | |
53 | ||
54 | #ifdef BOOST_COMP_SYSC_EMULATED | |
55 | #include <boost/predef/detail/test.h> | |
56 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SYSC_EMULATED,BOOST_COMP_SYSC_NAME) | |
57 | #endif |