github.com/searKing/golang/go@v1.2.74/os/signal/cgo/include/boost/predef/library/c/uc.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_LIBRARY_C_UC_H
     9  #define BOOST_PREDEF_LIBRARY_C_UC_H
    10  
    11  #include <boost/predef/library/c/_prefix.h>
    12  
    13  #include <boost/predef/version_number.h>
    14  #include <boost/predef/make.h>
    15  
    16  /*`
    17  [heading `BOOST_LIB_C_UC`]
    18  
    19  [@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
    20  
    21  [table
    22      [[__predef_symbol__] [__predef_version__]]
    23  
    24      [[`__UCLIBC__`] [__predef_detection__]]
    25  
    26      [[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
    27      ]
    28   */
    29  
    30  #define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
    31  
    32  #if defined(__UCLIBC__)
    33  #   undef BOOST_LIB_C_UC
    34  #   define BOOST_LIB_C_UC BOOST_VERSION_NUMBER(\
    35          __UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
    36  #endif
    37  
    38  #if BOOST_LIB_C_UC
    39  #   define BOOST_LIB_C_UC_AVAILABLE
    40  #endif
    41  
    42  #define BOOST_LIB_C_UC_NAME "uClibc"
    43  
    44  #endif
    45  
    46  #include <boost/predef/detail/test.h>
    47  BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_UC,BOOST_LIB_C_UC_NAME)