Skip to content

Commit

Permalink
Web assembly has no support for an alternate stack.
Browse files Browse the repository at this point in the history
Fixes usage of Boost.Test when compiling for web assembly with emscripten.
  • Loading branch information
jzmaddock authored Oct 12, 2020
1 parent c691201 commit f196605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/test/impl/execution_monitor.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ namespace { void _set_se_translator( void* ) {} }

// documentation of BOOST_TEST_DISABLE_ALT_STACK in execution_monitor.hpp
# if !defined(__CYGWIN__) && !defined(__QNXNTO__) && !defined(__bgq__) && \
(!defined(__ANDROID__) || __ANDROID_API__ >= 8) && \
(!defined(__ANDROID__) || __ANDROID_API__ >= 8) && !defined(__wasm__) && \
!defined(BOOST_TEST_DISABLE_ALT_STACK)
# define BOOST_TEST_USE_ALT_STACK
# endif
Expand Down

0 comments on commit f196605

Please sign in to comment.