mirror of https://github.com/YosysHQ/yosys.git
kernel: guard include of signal.h more precisely.
Upgrading to WASI SDK 11.0 caused the WASM build to fail because WASM does not have signals. (Arguably Yosys was broken even before, it was just broken silently.)
This commit is contained in:
parent
971a765155
commit
7137f99658
|
@ -55,7 +55,9 @@
|
|||
#else
|
||||
# include <sys/time.h>
|
||||
# include <sys/resource.h>
|
||||
# include <signal.h>
|
||||
# if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
# include <signal.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
|
Loading…
Reference in New Issue