github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/config/platform/solaris.hpp (about)

     1  //  (C) Copyright John Maddock 2001 - 2003. 
     2  //  (C) Copyright Jens Maurer 2003. 
     3  //  Use, modification and distribution are subject to the 
     4  //  Boost Software License, Version 1.0. (See accompanying file 
     5  //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     6  
     7  //  See http://www.boost.org for most recent version.
     8  
     9  //  sun specific config options:
    10  
    11  #define BOOST_PLATFORM "Sun Solaris"
    12  
    13  #define BOOST_HAS_GETTIMEOFDAY
    14  
    15  // boilerplate code:
    16  #define BOOST_HAS_UNISTD_H
    17  #include <boost/config/detail/posix_features.hpp>
    18  
    19  //
    20  // pthreads don't actually work with gcc unless _PTHREADS is defined:
    21  //
    22  #if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
    23  # undef BOOST_HAS_PTHREADS
    24  #endif
    25  
    26  #define BOOST_HAS_STDINT_H 
    27  #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 
    28  #define BOOST_HAS_LOG1P 
    29  #define BOOST_HAS_EXPM1
    30  
    31