annotate DEPENDENCIES/generic/include/boost/predef/compiler/greenhills.h @ 46:d572322e2efe

Fix to .cat file check (was susceptible to DOS line-endings) and subrepo update
author Chris Cannam
date Thu, 07 Aug 2014 14:39:38 +0100
parents 2665513ce2d3
children c530137014c0
rev   line source
Chris@16 1 /*
Chris@16 2 Copyright Redshift Software, Inc. 2008-2013
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_COMPILER_GREENHILLS_H
Chris@16 9 #define BOOST_PREDEF_COMPILER_GREENHILLS_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 /*`
Chris@16 15 [heading `BOOST_COMP_GHS`]
Chris@16 16
Chris@16 17 [@http://en.wikipedia.org/wiki/Green_Hills_Software Green Hills C/C++] compiler.
Chris@16 18 Version number available as major, minor, and patch.
Chris@16 19
Chris@16 20 [table
Chris@16 21 [[__predef_symbol__] [__predef_version__]]
Chris@16 22
Chris@16 23 [[`__ghs`] [__predef_detection__]]
Chris@16 24 [[`__ghs__`] [__predef_detection__]]
Chris@16 25
Chris@16 26 [[`__GHS_VERSION_NUMBER__`] [V.R.P]]
Chris@16 27 [[`__ghs`] [V.R.P]]
Chris@16 28 ]
Chris@16 29 */
Chris@16 30
Chris@16 31 #define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 32
Chris@16 33 #if defined(__ghs) || defined(__ghs__)
Chris@16 34 # undef BOOST_COMP_GHS
Chris@16 35 # if !defined(BOOST_COMP_GHS) && defined(__GHS_VERSION_NUMBER__)
Chris@16 36 # define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
Chris@16 37 # endif
Chris@16 38 # if !defined(BOOST_COMP_GHS) && defined(__ghs)
Chris@16 39 # define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__ghs)
Chris@16 40 # endif
Chris@16 41 # if !defined(BOOST_COMP_GHS)
Chris@16 42 # define BOOST_COMP_GHS BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 43 # endif
Chris@16 44 #endif
Chris@16 45
Chris@16 46 #if BOOST_COMP_GHS
Chris@16 47 # define BOOST_COMP_GHS_AVAILABLE
Chris@16 48 #endif
Chris@16 49
Chris@16 50 #define BOOST_COMP_GHS_NAME "Green Hills C/C++"
Chris@16 51
Chris@16 52 #include <boost/predef/detail/test.h>
Chris@16 53 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME)
Chris@16 54
Chris@16 55
Chris@16 56 #endif