Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_COMPILER_MPW_H
0009 #define BOOST_PREDEF_COMPILER_MPW_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_MPW`
0016 
0017 http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop[MPW {CPP}] compiler.
0018 Version number available as major, and minor.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__MRC__+` | {predef_detection}
0025 | `MPW_C` | {predef_detection}
0026 | `MPW_CPLUS` | {predef_detection}
0027 
0028 | `+__MRC__+` | V.R.0
0029 |===
0030 */ // end::reference[]
0031 
0032 #define BOOST_COMP_MPW BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033 
0034 #if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
0035 #   if !defined(BOOST_COMP_MPW_DETECTION) && defined(__MRC__)
0036 #       define BOOST_COMP_MPW_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__MRC__)
0037 #   endif
0038 #   if !defined(BOOST_COMP_MPW_DETECTION)
0039 #       define BOOST_COMP_MPW_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0040 #   endif
0041 #endif
0042 
0043 #ifdef BOOST_COMP_MPW_DETECTION
0044 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0045 #       define BOOST_COMP_MPW_EMULATED BOOST_COMP_MPW_DETECTION
0046 #   else
0047 #       undef BOOST_COMP_MPW
0048 #       define BOOST_COMP_MPW BOOST_COMP_MPW_DETECTION
0049 #   endif
0050 #   define BOOST_COMP_MPW_AVAILABLE
0051 #   include <boost/predef/detail/comp_detected.h>
0052 #endif
0053 
0054 #define BOOST_COMP_MPW_NAME "MPW C++"
0055 
0056 #endif
0057 
0058 #include <boost/predef/detail/test.h>
0059 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW,BOOST_COMP_MPW_NAME)
0060 
0061 #ifdef BOOST_COMP_MPW_EMULATED
0062 #include <boost/predef/detail/test.h>
0063 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW_EMULATED,BOOST_COMP_MPW_NAME)
0064 #endif