1/*
2Copyright Rene Rivera 2008-2015
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_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/* tag::reference[]
15= `BOOST_COMP_PATH`
16
17http://en.wikipedia.org/wiki/PathScale[EKOpath] compiler.
18Version number available as major, minor, and patch.
19
20[options="header"]
21|===
22| {predef_symbol} | {predef_version}
23
24| `+__PATHCC__+` | {predef_detection}
25
26| `+__PATHCC__+`, `+__PATHCC_MINOR__+`, `+__PATHCC_PATCHLEVEL__+` | V.R.P
27|===
28*/ // end::reference[]
29
30#define BOOST_COMP_PATH BOOST_VERSION_NUMBER_NOT_AVAILABLE
31
32#if defined(__PATHCC__)
33# define BOOST_COMP_PATH_DETECTION \
34 BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
35#endif
36
37#ifdef BOOST_COMP_PATH_DETECTION
38# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
39# define BOOST_COMP_PATH_EMULATED BOOST_COMP_PATH_DETECTION
40# else
41# undef BOOST_COMP_PATH
42# define BOOST_COMP_PATH BOOST_COMP_PATH_DETECTION
43# endif
44# define BOOST_COMP_PATH_AVAILABLE
45# include <boost/predef/detail/comp_detected.h>
46#endif
47
48#define BOOST_COMP_PATH_NAME "EKOpath"
49
50#endif
51
52#include <boost/predef/detail/test.h>
53BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH,BOOST_COMP_PATH_NAME)
54
55#ifdef BOOST_COMP_PATH_EMULATED
56#include <boost/predef/detail/test.h>
57BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH_EMULATED,BOOST_COMP_PATH_NAME)
58#endif
59

source code of include/boost/predef/compiler/ekopath.h