windows build fixes

This commit is contained in:
CJ van den Berg 2024-06-05 20:32:30 +02:00
parent 3121af2ec4
commit 1d116f8fa8
15 changed files with 137 additions and 31 deletions

View file

@ -16,7 +16,6 @@
#include <mutex>
#include <string>
#include <utility>
#include <vector>
using cbor::buffer;
using std::cerr;
@ -81,8 +80,10 @@ struct logger {
extern "C" auto runtestcase(const char *name) -> int {
mutex trace_m;
#if !defined(_WIN32)
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) // NOLINT
abort();
#endif
auto gdb = getenv("JITDEBUG"); // NOLINT