Boost.Test consults the BOOST_TEST_DISABLE_ALT_STACK macro only in its sigaction-based signal handling,
which it selects when BOOST_HAS_SIGACTION is defined. This causes a build failure when cross-compiling for Windows with Clang after bitcoin/bitcoin#36509:
/home/runner/work/bitcoin-core-nightly/bitcoin-core-nightly/src/test/main.cpp:9:9: error: macro is not used [-Werror,-Wunused-macros]
9 | #define BOOST_TEST_DISABLE_ALT_STACK
| ^
(not sure why GCC fails to catch this case in the CI.)
This PR fixes the issue.