mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-14 01:46:16 +00:00
bugpoint.cc: WIN32 exit signals
This commit is contained in:
parent
996539a26f
commit
50da04a75e
1 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,15 @@
|
||||||
#include "kernel/yosys.h"
|
#include "kernel/yosys.h"
|
||||||
#include "backends/rtlil/rtlil_backend.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_YOSYS_NAMESPACE
|
||||||
using namespace RTLIL_BACKEND;
|
using namespace RTLIL_BACKEND;
|
||||||
PRIVATE_NAMESPACE_BEGIN
|
PRIVATE_NAMESPACE_BEGIN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue