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

     1  /*
     2  Copyright Rene Rivera 2008-2021
     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_X86_64_H
     9  #define BOOST_PREDEF_ARCHITECTURE_X86_64_H
    10  
    11  #include <boost/predef/version_number.h>
    12  #include <boost/predef/make.h>
    13  
    14  /* tag::reference[]
    15  = `BOOST_ARCH_X86_64`
    16  
    17  https://en.wikipedia.org/wiki/X86-64[X86-64] architecture.
    18  
    19  [options="header"]
    20  |===
    21  | {predef_symbol} | {predef_version}
    22  
    23  | `+__x86_64+` | {predef_detection}
    24  | `+__x86_64__+` | {predef_detection}
    25  | `+__amd64__+` | {predef_detection}
    26  | `+__amd64+` | {predef_detection}
    27  | `+_M_X64+` | {predef_detection}
    28  |===
    29  */ // end::reference[]
    30  
    31  #define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
    32  
    33  #if defined(__x86_64) || defined(__x86_64__) || \
    34      defined(__amd64__) || defined(__amd64) || \
    35      defined(_M_X64)
    36  #   undef BOOST_ARCH_X86_64
    37  #   define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_AVAILABLE
    38  #endif
    39  
    40  #if BOOST_ARCH_X86_64
    41  #   define BOOST_ARCH_X86_64_AVAILABLE
    42  #endif
    43  
    44  #if BOOST_ARCH_X86_64
    45  #   undef BOOST_ARCH_WORD_BITS_64
    46  #   define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
    47  #endif
    48  
    49  #define BOOST_ARCH_X86_64_NAME "Intel x86-64"
    50  
    51  #include <boost/predef/architecture/x86.h>
    52  
    53  #endif
    54  
    55  #include <boost/predef/detail/test.h>
    56  BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86_64,BOOST_ARCH_X86_64_NAME)