================ @@ -13,8 +13,17 @@ #include "llvm/Support/Signals.h" #include "llvm/Support/thread.h" #include <cassert> +#if !defined(__wasi__) +#include <csignal> +#endif +#if LLVM_ENABLE_THREADS ---------------- whitequark wrote:
I think it actually does work, since I ended up building LLVM always with the `wasm32-wasip1-threads` target, and this is a remnant of an earlier patch. https://github.com/llvm/llvm-project/pull/92677 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits