Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / predef / library / std / msl.h
1 /*
2 Copyright Rene Rivera 2008-2013
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 /*`
17 [heading `BOOST_LIB_STD_MSL`]
18
19 [@http://www.freescale.com/ Metrowerks] Standard C++ Library.
20 Version number available as major, minor, and patch.
21
22 [table
23     [[__predef_symbol__] [__predef_version__]]
24
25     [[`__MSL_CPP__`] [__predef_detection__]]
26     [[`__MSL__`] [__predef_detection__]]
27
28     [[`__MSL_CPP__`] [V.R.P]]
29     [[`__MSL__`] [V.R.P]]
30     ]
31  */
32
33 #define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
34
35 #if defined(__MSL_CPP__) || defined(__MSL__)
36 #   undef BOOST_LIB_STD_MSL
37 #   if defined(__MSL_CPP__)
38 #       define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
39 #   else
40 #       define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL__)
41 #   endif
42 #endif
43
44 #if BOOST_LIB_STD_MSL
45 #   define BOOST_LIB_STD_MSL_AVAILABLE
46 #endif
47
48 #define BOOST_LIB_STD_MSL_NAME "Metrowerks"
49
50 #include <boost/predef/detail/test.h>
51 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSL,BOOST_LIB_STD_MSL_NAME)
52
53
54 #endif