1 | /* |
2 | Copyright Rene Rivera 2008-2014 |
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_EKOPATH_H |
9 | #define BOOST_PREDEF_COMPILER_EKOPATH_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_COMP_PATH`] |
16 | |
17 | [@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler. |
18 | Version number available as major, minor, and patch. |
19 | |
20 | [table |
21 | [[__predef_symbol__] [__predef_version__]] |
22 | |
23 | [[`__PATHCC__`] [__predef_detection__]] |
24 | |
25 | [[`__PATHCC__`, `__PATHCC_MINOR__`, `__PATHCC_PATCHLEVEL__`] [V.R.P]] |
26 | ] |
27 | */ |
28 | |
29 | #define BOOST_COMP_PATH BOOST_VERSION_NUMBER_NOT_AVAILABLE |
30 | |
31 | #if defined(__PATHCC__) |
32 | # define BOOST_COMP_PATH_DETECTION \ |
33 | BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__) |
34 | #endif |
35 | |
36 | #ifdef BOOST_COMP_PATH_DETECTION |
37 | # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) |
38 | # define BOOST_COMP_PATH_EMULATED BOOST_COMP_PATH_DETECTION |
39 | # else |
40 | # undef BOOST_COMP_PATH |
41 | # define BOOST_COMP_PATH BOOST_COMP_PATH_DETECTION |
42 | # endif |
43 | # define BOOST_COMP_PATH_AVAILABLE |
44 | # include <boost/predef/detail/comp_detected.h> |
45 | #endif |
46 | |
47 | #define BOOST_COMP_PATH_NAME "EKOpath" |
48 | |
49 | #include <boost/predef/detail/test.h> |
50 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH,BOOST_COMP_PATH_NAME) |
51 | |
52 | #ifdef BOOST_COMP_PATH_EMULATED |
53 | #include <boost/predef/detail/test.h> |
54 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH_EMULATED,BOOST_COMP_PATH_NAME) |
55 | #endif |
56 | |
57 | |
58 | #endif |
59 | |