3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-13 09:26:16 +00:00

bugpoint.cc: WIN32 exit signals

This commit is contained in:
Krystine Sherwin 2025-05-13 15:01:45 +12:00
parent 996539a26f
commit 50da04a75e
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