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

     1  /*
     2  Copyright Zhang Na 2022
     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_LOONGARCH_H
     9  #define BOOST_PREDEF_ARCHITECTURE_LOONGARCH_H
    10  
    11  #include <boost/predef/version_number.h>
    12  #include <boost/predef/make.h>
    13  
    14  /* tag::reference[]
    15  = `BOOST_ARCH_LOONGARCH`
    16  
    17  [options="header"]
    18  |===
    19  | {predef_symbol} | {predef_version}
    20  
    21  | `+__loongarch__+` | {predef_detection}
    22  |===
    23  */ // end::reference[]
    24  
    25  #define BOOST_ARCH_LOONGARCH BOOST_VERSION_NUMBER_NOT_AVAILABLE
    26  
    27  #if defined(__loongarch__)
    28  #   undef BOOST_ARCH_LOONGARCH
    29  #   define BOOST_ARCH_LOONGARCH BOOST_VERSION_NUMBER_AVAILABLE
    30  #endif
    31  
    32  #if BOOST_ARCH_LOONGARCH
    33  #   define BOOST_ARCH_LOONGARCH_AVAILABLE
    34  #endif
    35  
    36  #define BOOST_ARCH_LOONGARCH_NAME "LoongArch"
    37  
    38  #endif
    39  
    40  #include <boost/predef/detail/test.h>
    41  BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_LOONGARCH,BOOST_ARCH_LOONGARCH_NAME)