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_COMPAQ_H
0009 #define BOOST_PREDEF_COMPILER_COMPAQ_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_DEC`
0016 
0017 http://www.openvms.compaq.com/openvms/brochures/deccplus/[Compaq C/{CPP}] compiler.
0018 Version number available as major, minor, and patch.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__DECCXX+` | {predef_detection}
0025 | `+__DECC+` | {predef_detection}
0026 
0027 | `+__DECCXX_VER+` | V.R.P
0028 | `+__DECC_VER+` | V.R.P
0029 |===
0030 */ // end::reference[]
0031 
0032 #define BOOST_COMP_DEC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033 
0034 #if defined(__DECC) || defined(__DECCXX)
0035 #   if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECCXX_VER)
0036 #       define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
0037 #   endif
0038 #   if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECC_VER)
0039 #       define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
0040 #   endif
0041 #   if !defined(BOOST_COMP_DEC_DETECTION)
0042 #       define BOOST_COMP_DEC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0043 #   endif
0044 #endif
0045 
0046 #ifdef BOOST_COMP_DEC_DETECTION
0047 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0048 #       define BOOST_COMP_DEC_EMULATED BOOST_COMP_DEC_DETECTION
0049 #   else
0050 #       undef BOOST_COMP_DEC
0051 #       define BOOST_COMP_DEC BOOST_COMP_DEC_DETECTION
0052 #   endif
0053 #   define BOOST_COMP_DEC_AVAILABLE
0054 #   include <boost/predef/detail/comp_detected.h>
0055 #endif
0056 
0057 #define BOOST_COMP_DEC_NAME "Compaq C/C++"
0058 
0059 #endif
0060 
0061 #include <boost/predef/detail/test.h>
0062 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC,BOOST_COMP_DEC_NAME)
0063 
0064 #ifdef BOOST_COMP_DEC_EMULATED
0065 #include <boost/predef/detail/test.h>
0066 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC_EMULATED,BOOST_COMP_DEC_NAME)
0067 #endif