github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/predef/compiler/compaq.h (about)

     1  /*
     2  Copyright Rene Rivera 2008-2015
     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_COMPILER_COMPAQ_H
     9  #define BOOST_PREDEF_COMPILER_COMPAQ_H
    10  
    11  #include <boost/predef/version_number.h>
    12  #include <boost/predef/make.h>
    13  
    14  /* tag::reference[]
    15  = `BOOST_COMP_DEC`
    16  
    17  http://www.openvms.compaq.com/openvms/brochures/deccplus/[Compaq C/{CPP}] compiler.
    18  Version number available as major, minor, and patch.
    19  
    20  [options="header"]
    21  |===
    22  | {predef_symbol} | {predef_version}
    23  
    24  | `+__DECCXX+` | {predef_detection}
    25  | `+__DECC+` | {predef_detection}
    26  
    27  | `+__DECCXX_VER+` | V.R.P
    28  | `+__DECC_VER+` | V.R.P
    29  |===
    30  */ // end::reference[]
    31  
    32  #define BOOST_COMP_DEC BOOST_VERSION_NUMBER_NOT_AVAILABLE
    33  
    34  #if defined(__DECC) || defined(__DECCXX)
    35  #   if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECCXX_VER)
    36  #       define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
    37  #   endif
    38  #   if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECC_VER)
    39  #       define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
    40  #   endif
    41  #   if !defined(BOOST_COMP_DEC_DETECTION)
    42  #       define BOOST_COMP_DEC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
    43  #   endif
    44  #endif
    45  
    46  #ifdef BOOST_COMP_DEC_DETECTION
    47  #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
    48  #       define BOOST_COMP_DEC_EMULATED BOOST_COMP_DEC_DETECTION
    49  #   else
    50  #       undef BOOST_COMP_DEC
    51  #       define BOOST_COMP_DEC BOOST_COMP_DEC_DETECTION
    52  #   endif
    53  #   define BOOST_COMP_DEC_AVAILABLE
    54  #   include <boost/predef/detail/comp_detected.h>
    55  #endif
    56  
    57  #define BOOST_COMP_DEC_NAME "Compaq C/C++"
    58  
    59  #endif
    60  
    61  #include <boost/predef/detail/test.h>
    62  BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC,BOOST_COMP_DEC_NAME)
    63  
    64  #ifdef BOOST_COMP_DEC_EMULATED
    65  #include <boost/predef/detail/test.h>
    66  BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC_EMULATED,BOOST_COMP_DEC_NAME)
    67  #endif