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

     1  /*
     2  Copyright Rene Rivera 2011-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_LIBRARY_STD_CXX_H
     9  #define BOOST_PREDEF_LIBRARY_STD_CXX_H
    10  
    11  #include <boost/predef/library/std/_prefix.h>
    12  
    13  #include <boost/predef/version_number.h>
    14  #include <boost/predef/make.h>
    15  
    16  /* tag::reference[]
    17  = `BOOST_LIB_STD_CXX`
    18  
    19  http://libcxx.llvm.org/[libc++] {CPP} Standard Library.
    20  
    21  [options="header"]
    22  |===
    23  | {predef_symbol} | {predef_version}
    24  
    25  | `+_LIBCPP_VERSION+` | {predef_detection}
    26  
    27  | `+_LIBCPP_VERSION+` | V.0.P
    28  |===
    29  */ // end::reference[]
    30  
    31  #define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE
    32  
    33  #if defined(_LIBCPP_VERSION)
    34  #   undef BOOST_LIB_STD_CXX
    35  #   define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VVPPP(_LIBCPP_VERSION)
    36  #endif
    37  
    38  #if BOOST_LIB_STD_CXX
    39  #   define BOOST_LIB_STD_CXX_AVAILABLE
    40  #endif
    41  
    42  #define BOOST_LIB_STD_CXX_NAME "libc++"
    43  
    44  #endif
    45  
    46  #include <boost/predef/detail/test.h>
    47  BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_CXX,BOOST_LIB_STD_CXX_NAME)