github.com/searKing/golang/go@v1.2.74/os/signal/cgo/include/boost/predef/architecture/sparc.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_ARCHITECTURE_SPARC_H
     9  #define BOOST_PREDEF_ARCHITECTURE_SPARC_H
    10  
    11  #include <boost/predef/version_number.h>
    12  #include <boost/predef/make.h>
    13  
    14  /*`
    15  [heading `BOOST_ARCH_SPARC`]
    16  
    17  [@http://en.wikipedia.org/wiki/SPARC SPARC] architecture.
    18  
    19  [table
    20      [[__predef_symbol__] [__predef_version__]]
    21  
    22      [[`__sparc__`] [__predef_detection__]]
    23      [[`__sparc`] [__predef_detection__]]
    24  
    25      [[`__sparcv9`] [9.0.0]]
    26      [[`__sparcv8`] [8.0.0]]
    27      ]
    28   */
    29  
    30  #define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_NOT_AVAILABLE
    31  
    32  #if defined(__sparc__) || defined(__sparc)
    33  #   undef BOOST_ARCH_SPARC
    34  #   if !defined(BOOST_ARCH_SPARC) && defined(__sparcv9)
    35  #       define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0)
    36  #   endif
    37  #   if !defined(BOOST_ARCH_SPARC) && defined(__sparcv8)
    38  #       define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
    39  #   endif
    40  #   if !defined(BOOST_ARCH_SPARC)
    41  #       define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_AVAILABLE
    42  #   endif
    43  #endif
    44  
    45  #if BOOST_ARCH_SPARC
    46  #   define BOOST_ARCH_SPARC_AVAILABLE
    47  #endif
    48  
    49  #define BOOST_ARCH_SPARC_NAME "SPARC"
    50  
    51  #endif
    52  
    53  #include <boost/predef/detail/test.h>
    54  BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SPARC,BOOST_ARCH_SPARC_NAME)