comparison DEPENDENCIES/generic/include/boost/predef/compiler/greenhills.h @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 /* 1 /*
2 Copyright Redshift Software, Inc. 2008-2013 2 Copyright Rene Rivera 2008-2014
3 Distributed under the Boost Software License, Version 1.0. 3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at 4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt) 5 http://www.boost.org/LICENSE_1_0.txt)
6 */ 6 */
7 7
29 */ 29 */
30 30
31 #define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE 31 #define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 32
33 #if defined(__ghs) || defined(__ghs__) 33 #if defined(__ghs) || defined(__ghs__)
34 # undef BOOST_COMP_GHS 34 # if !defined(BOOST_COMP_GHS_DETECTION) && defined(__GHS_VERSION_NUMBER__)
35 # if !defined(BOOST_COMP_GHS) && defined(__GHS_VERSION_NUMBER__) 35 # define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
36 # define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
37 # endif 36 # endif
38 # if !defined(BOOST_COMP_GHS) && defined(__ghs) 37 # if !defined(BOOST_COMP_GHS_DETECTION) && defined(__ghs)
39 # define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__ghs) 38 # define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__ghs)
40 # endif 39 # endif
41 # if !defined(BOOST_COMP_GHS) 40 # if !defined(BOOST_COMP_GHS_DETECTION)
42 # define BOOST_COMP_GHS BOOST_VERSION_NUMBER_AVAILABLE 41 # define BOOST_COMP_GHS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
43 # endif 42 # endif
44 #endif 43 #endif
45 44
46 #if BOOST_COMP_GHS 45 #ifdef BOOST_COMP_GHS_DETECTION
46 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
47 # define BOOST_COMP_GHS_EMULATED BOOST_COMP_GHS_DETECTION
48 # else
49 # undef BOOST_COMP_GHS
50 # define BOOST_COMP_GHS BOOST_COMP_GHS_DETECTION
51 # endif
47 # define BOOST_COMP_GHS_AVAILABLE 52 # define BOOST_COMP_GHS_AVAILABLE
53 # include <boost/predef/detail/comp_detected.h>
48 #endif 54 #endif
49 55
50 #define BOOST_COMP_GHS_NAME "Green Hills C/C++" 56 #define BOOST_COMP_GHS_NAME "Green Hills C/C++"
51 57
52 #include <boost/predef/detail/test.h> 58 #include <boost/predef/detail/test.h>
53 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME) 59 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME)
54 60
61 #ifdef BOOST_COMP_GHS_EMULATED
62 #include <boost/predef/detail/test.h>
63 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS_EMULATED,BOOST_COMP_GHS_NAME)
64 #endif
65
55 66
56 #endif 67 #endif