Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2014
|
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_MPW_H
|
Chris@16
|
9 #define BOOST_PREDEF_COMPILER_MPW_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_MPW`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler.
|
Chris@16
|
18 Version number available as major, and minor.
|
Chris@16
|
19
|
Chris@16
|
20 [table
|
Chris@16
|
21 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
22
|
Chris@16
|
23 [[`__MRC__`] [__predef_detection__]]
|
Chris@16
|
24 [[`MPW_C`] [__predef_detection__]]
|
Chris@16
|
25 [[`MPW_CPLUS`] [__predef_detection__]]
|
Chris@16
|
26
|
Chris@16
|
27 [[`__MRC__`] [V.R.0]]
|
Chris@16
|
28 ]
|
Chris@16
|
29 */
|
Chris@16
|
30
|
Chris@16
|
31 #define BOOST_COMP_MPW BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
32
|
Chris@16
|
33 #if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
|
Chris@101
|
34 # if !defined(BOOST_COMP_MPW_DETECTION) && defined(__MRC__)
|
Chris@101
|
35 # define BOOST_COMP_MPW_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__MRC__)
|
Chris@16
|
36 # endif
|
Chris@101
|
37 # if !defined(BOOST_COMP_MPW_DETECTION)
|
Chris@101
|
38 # define BOOST_COMP_MPW_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
39 # endif
|
Chris@16
|
40 #endif
|
Chris@16
|
41
|
Chris@101
|
42 #ifdef BOOST_COMP_MPW_DETECTION
|
Chris@101
|
43 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
|
Chris@101
|
44 # define BOOST_COMP_MPW_EMULATED BOOST_COMP_MPW_DETECTION
|
Chris@101
|
45 # else
|
Chris@101
|
46 # undef BOOST_COMP_MPW
|
Chris@101
|
47 # define BOOST_COMP_MPW BOOST_COMP_MPW_DETECTION
|
Chris@101
|
48 # endif
|
Chris@16
|
49 # define BOOST_COMP_MPW_AVAILABLE
|
Chris@101
|
50 # include <boost/predef/detail/comp_detected.h>
|
Chris@16
|
51 #endif
|
Chris@16
|
52
|
Chris@16
|
53 #define BOOST_COMP_MPW_NAME "MPW C++"
|
Chris@16
|
54
|
Chris@16
|
55 #include <boost/predef/detail/test.h>
|
Chris@16
|
56 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW,BOOST_COMP_MPW_NAME)
|
Chris@16
|
57
|
Chris@101
|
58 #ifdef BOOST_COMP_MPW_EMULATED
|
Chris@101
|
59 #include <boost/predef/detail/test.h>
|
Chris@101
|
60 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW_EMULATED,BOOST_COMP_MPW_NAME)
|
Chris@101
|
61 #endif
|
Chris@101
|
62
|
Chris@16
|
63
|
Chris@16
|
64 #endif
|