3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 16:33:19 +00:00

bugpoint.cc: WIN32 exit signals

This commit is contained in:
Krystine Sherwin 2025-07-29 11:39:50 +12:00
parent 8a732080e0
commit a7a926b247
No known key found for this signature in database

View file

@ -20,6 +20,15 @@
#include "kernel/yosys.h"
#include "backends/rtlil/rtlil_backend.h"
#if defined(_WIN32)
# define WIFEXITED(x) 1
# define WIFSIGNALED(x) 0
# define WIFSTOPPED(x) 0
# define WEXITSTATUS(x) ((x) & 0xff)
# define WTERMSIG(x) SIGTERM
# define WSTOPSIG(x) 0
#endif
USING_YOSYS_NAMESPACE
using namespace RTLIL_BACKEND;
PRIVATE_NAMESPACE_BEGIN