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_DIGITALMARS_H
0009 #define BOOST_PREDEF_COMPILER_DIGITALMARS_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_DMC`
0016 
0017 http://en.wikipedia.org/wiki/Digital_Mars[Digital Mars] compiler.
0018 Version number available as major, minor, and patch.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__DMC__+` | {predef_detection}
0025 
0026 | `+__DMC__+` | V.R.P
0027 |===
0028 */ // end::reference[]
0029 
0030 #define BOOST_COMP_DMC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0031 
0032 #if defined(__DMC__)
0033 #   define BOOST_COMP_DMC_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__DMC__)
0034 #endif
0035 
0036 #ifdef BOOST_COMP_DMC_DETECTION
0037 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0038 #       define BOOST_COMP_DMC_EMULATED BOOST_COMP_DMC_DETECTION
0039 #   else
0040 #       undef BOOST_COMP_DMC
0041 #       define BOOST_COMP_DMC BOOST_COMP_DMC_DETECTION
0042 #   endif
0043 #   define BOOST_COMP_DMC_AVAILABLE
0044 #   include <boost/predef/detail/comp_detected.h>
0045 #endif
0046 
0047 #define BOOST_COMP_DMC_NAME "Digital Mars"
0048 
0049 #endif
0050 
0051 #include <boost/predef/detail/test.h>
0052 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DMC,BOOST_COMP_DMC_NAME)
0053 
0054 #ifdef BOOST_COMP_DMC_EMULATED
0055 #include <boost/predef/detail/test.h>
0056 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DMC_EMULATED,BOOST_COMP_DMC_NAME)
0057 #endif