]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/compiler/comeau.h
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)
8 #ifndef BOOST_PREDEF_COMPILER_COMEAU_H
9 #define BOOST_PREDEF_COMPILER_COMEAU_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
14 #define BOOST_COMP_COMO BOOST_VERSION_NUMBER_NOT_AVAILABLE
19 http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B[Comeau {CPP}] compiler.
20 Version number available as major, minor, and patch.
24 | {predef_symbol} | {predef_version}
26 | `+__COMO__+` | {predef_detection}
28 | `+__COMO_VERSION__+` | V.R.P
30 */ // end::reference[]
33 # if !defined(BOOST_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
34 # define BOOST_COMP_COMO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
36 # if !defined(BOOST_COMP_COMO_DETECTION)
37 # define BOOST_COMP_COMO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
41 #ifdef BOOST_COMP_COMO_DETECTION
42 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
43 # define BOOST_COMP_COMO_EMULATED BOOST_COMP_COMO_DETECTION
45 # undef BOOST_COMP_COMO
46 # define BOOST_COMP_COMO BOOST_COMP_COMO_DETECTION
48 # define BOOST_COMP_COMO_AVAILABLE
49 # include <boost/predef/detail/comp_detected.h>
52 #define BOOST_COMP_COMO_NAME "Comeau C++"
56 #include <boost/predef/detail/test.h>
57 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO
,BOOST_COMP_COMO_NAME
)
59 #ifdef BOOST_COMP_COMO_EMULATED
60 #include <boost/predef/detail/test.h>
61 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO_EMULATED
,BOOST_COMP_COMO_NAME
)