comparison DEPENDENCIES/generic/include/boost/predef/compiler/metrowerks.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
31 */ 31 */
32 32
33 #define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_NOT_AVAILABLE 33 #define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_NOT_AVAILABLE
34 34
35 #if defined(__MWERKS__) || defined(__CWCC__) 35 #if defined(__MWERKS__) || defined(__CWCC__)
36 # undef BOOST_COMP_MWERKS 36 # if !defined(BOOST_COMP_MWERKS_DETECTION) && defined(__CWCC__)
37 # if !defined(BOOST_COMP_MWERKS) && defined(__CWCC__) 37 # define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__)
38 # define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__)
39 # endif 38 # endif
40 # if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x4200) 39 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x4200)
41 # define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__) 40 # define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__)
42 # endif 41 # endif
43 # if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3 42 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3
44 # define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0) 43 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
45 # endif 44 # endif
46 # if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3200) 45 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3200)
47 # define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0) 46 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
48 # endif 47 # endif
49 # if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3000) 48 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3000)
50 # define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0) 49 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
51 # endif 50 # endif
52 # if !defined(BOOST_COMP_MWERKS) 51 # if !defined(BOOST_COMP_MWERKS_DETECTION)
53 # define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_AVAILABLE 52 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
54 # endif 53 # endif
55 #endif 54 #endif
56 55
57 #if BOOST_COMP_MWERKS 56 #ifdef BOOST_COMP_MWERKS_DETECTION
57 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
58 # define BOOST_COMP_MWERKS_EMULATED BOOST_COMP_MWERKS_DETECTION
59 # else
60 # undef BOOST_COMP_MWERKS
61 # define BOOST_COMP_MWERKS BOOST_COMP_MWERKS_DETECTION
62 # endif
58 # define BOOST_COMP_MWERKS_AVAILABLE 63 # define BOOST_COMP_MWERKS_AVAILABLE
64 # include <boost/predef/detail/comp_detected.h>
59 #endif 65 #endif
60 66
61 #define BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior" 67 #define BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior"
62 68
63 #include <boost/predef/detail/test.h> 69 #include <boost/predef/detail/test.h>
64 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS,BOOST_COMP_MWERKS_NAME) 70 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS,BOOST_COMP_MWERKS_NAME)
65 71
72 #ifdef BOOST_COMP_MWERKS_EMULATED
73 #include <boost/predef/detail/test.h>
74 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS_EMULATED,BOOST_COMP_MWERKS_NAME)
75 #endif
76
66 77
67 #endif 78 #endif