1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-08 11:33:02 +00:00

Fix #1609 Remove sigaction if JANET_NO_EV defined.

This commit is contained in:
Calvin Rose
2025-08-02 18:19:19 -05:00
parent e34a8545e6
commit f00d3199c3

View File

@@ -2863,7 +2863,9 @@ void janet_lib_os(JanetTable *env) {
JANET_CORE_REG("os/proc-kill", os_proc_kill),
JANET_CORE_REG("os/proc-close", os_proc_close),
JANET_CORE_REG("os/getpid", os_proc_getpid),
#ifdef JANET_EV
JANET_CORE_REG("os/sigaction", os_sigaction),
#endif
#endif
/* high resolution timers */