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
17 [heading `BOOST_COMP_COMO`]
19 [@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
20 Version number available as major, minor, and patch.
23 [[__predef_symbol__] [__predef_version__]]
25 [[`__COMO__`] [__predef_detection__]]
27 [[`__COMO_VERSION__`] [V.R.P]]
32 # if !defined(BOOST_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
33 # define BOOST_COMP_COMO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
35 # if !defined(BOOST_COMP_COMO_DETECTION)
36 # define BOOST_COMP_COMO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
40 #ifdef BOOST_COMP_COMO_DETECTION
41 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
42 # define BOOST_COMP_COMO_EMULATED BOOST_COMP_COMO_DETECTION
44 # undef BOOST_COMP_COMO
45 # define BOOST_COMP_COMO BOOST_COMP_COMO_DETECTION
47 # define BOOST_COMP_COMO_AVAILABLE
48 # include <boost/predef/detail/comp_detected.h>
51 #define BOOST_COMP_COMO_NAME "Comeau C++"
55 #include <boost/predef/detail/test.h>
56 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO,BOOST_COMP_COMO_NAME)
58 #ifdef BOOST_COMP_COMO_EMULATED
59 #include <boost/predef/detail/test.h>
60 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO_EMULATED,BOOST_COMP_COMO_NAME)