mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue