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_HP_ACC_H |
9 | #define BOOST_PREDEF_COMPILER_HP_ACC_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_COMP_HPACC`] |
16 | |
17 | HP aC++ compiler. |
18 | Version number available as major, minor, and patch. |
19 | |
20 | [table |
21 | [[__predef_symbol__] [__predef_version__]] |
22 | |
23 | [[`__HP_aCC`] [__predef_detection__]] |
24 | |
25 | [[`__HP_aCC`] [V.R.P]] |
26 | ] |
27 | */ |
28 | |
29 | #define BOOST_COMP_HPACC BOOST_VERSION_NUMBER_NOT_AVAILABLE |
30 | |
31 | #if defined(__HP_aCC) |
32 | # if !defined(BOOST_COMP_HPACC_DETECTION) && (__HP_aCC > 1) |
33 | # define BOOST_COMP_HPACC_DETECTION BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC) |
34 | # endif |
35 | # if !defined(BOOST_COMP_HPACC_DETECTION) |
36 | # define BOOST_COMP_HPACC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE |
37 | # endif |
38 | #endif |
39 | |
40 | #ifdef BOOST_COMP_HPACC_DETECTION |
41 | # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) |
42 | # define BOOST_COMP_HPACC_EMULATED BOOST_COMP_HPACC_DETECTION |
43 | # else |
44 | # undef BOOST_COMP_HPACC |
45 | # define BOOST_COMP_HPACC BOOST_COMP_HPACC_DETECTION |
46 | # endif |
47 | # define BOOST_COMP_HPACC_AVAILABLE |
48 | # include <boost/predef/detail/comp_detected.h> |
49 | #endif |
50 | |
51 | #define BOOST_COMP_HPACC_NAME "HP aC++" |
52 | |
53 | #include <boost/predef/detail/test.h> |
54 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC,BOOST_COMP_HPACC_NAME) |
55 | |
56 | #ifdef BOOST_COMP_HPACC_EMULATED |
57 | #include <boost/predef/detail/test.h> |
58 | BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC_EMULATED,BOOST_COMP_HPACC_NAME) |
59 | #endif |
60 | |
61 | |
62 | #endif |
63 | |