================ @@ -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 ---------------- jyknight wrote:
This is unfortunate; there's no reason (in theory) that mutex shouldn't work fine in single-threaded mode. 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