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

     1  //  (C) Copyright John Maddock 2020.
     2  //  Use, modification and distribution are subject to the
     3  //  Boost Software License, Version 1.0. (See accompanying file
     4  //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     5  
     6  //  See http://www.boost.org for most recent version.
     7  
     8  //  WASM specific config options:
     9  
    10  #define BOOST_PLATFORM "Wasm"
    11  
    12  #ifdef __has_include
    13  #if __has_include(<unistd.h>)
    14  #  define BOOST_HAS_UNISTD_H
    15  #endif
    16  #endif
    17  
    18  // boilerplate code:
    19  #include <boost/config/detail/posix_features.hpp>
    20  //
    21  // fenv lacks the C++11 macros:
    22  //
    23  #define BOOST_NO_FENV_H