wasm.hpp 578 B

1234567891011121314151617181920212223
  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. // See http://www.boost.org for most recent version.
  6. // WASM specific config options:
  7. #define BOOST_PLATFORM "Wasm"
  8. #ifdef __has_include
  9. #if __has_include(<unistd.h>)
  10. # define BOOST_HAS_UNISTD_H
  11. #endif
  12. #endif
  13. // boilerplate code:
  14. #include <boost/config/detail/posix_features.hpp>
  15. //
  16. // fenv lacks the C++11 macros:
  17. //
  18. #define BOOST_NO_FENV_H