1 /*
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)
6 */
7 
8 #ifndef BOOST_PREDEF_LIBRARY_STD_MSL_H
9 #define BOOST_PREDEF_LIBRARY_STD_MSL_H
10 
11 #include <boost/predef/library/std/_prefix.h>
12 
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
15 
16 /* tag::reference[]
17 = `BOOST_LIB_STD_MSL`
18 
19 http://www.freescale.com/[Metrowerks] Standard {CPP} Library.
20 Version number available as major, minor, and patch.
21 
22 [options="header"]
23 |===
24 | {predef_symbol} | {predef_version}
25 
26 | `+__MSL_CPP__+` | {predef_detection}
27 | `+__MSL__+` | {predef_detection}
28 
29 | `+__MSL_CPP__+` | V.R.P
30 | `+__MSL__+` | V.R.P
31 |===
32 */ // end::reference[]
33 
34 #define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
35 
36 #if defined(__MSL_CPP__) || defined(__MSL__)
37 #   undef BOOST_LIB_STD_MSL
38 #   if defined(__MSL_CPP__)
39 #       define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
40 #   else
41 #       define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL__)
42 #   endif
43 #endif
44 
45 #if BOOST_LIB_STD_MSL
46 #   define BOOST_LIB_STD_MSL_AVAILABLE
47 #endif
48 
49 #define BOOST_LIB_STD_MSL_NAME "Metrowerks"
50 
51 #endif
52 
53 #include <boost/predef/detail/test.h>
54 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSL,BOOST_LIB_STD_MSL_NAME)
55