mirror of
https://github.com/janet-lang/janet
synced 2025-11-11 04:53:02 +00:00
Fix #1609 Remove sigaction if JANET_NO_EV defined.
This commit is contained in:
@@ -2863,7 +2863,9 @@ void janet_lib_os(JanetTable *env) {
|
|||||||
JANET_CORE_REG("os/proc-kill", os_proc_kill),
|
JANET_CORE_REG("os/proc-kill", os_proc_kill),
|
||||||
JANET_CORE_REG("os/proc-close", os_proc_close),
|
JANET_CORE_REG("os/proc-close", os_proc_close),
|
||||||
JANET_CORE_REG("os/getpid", os_proc_getpid),
|
JANET_CORE_REG("os/getpid", os_proc_getpid),
|
||||||
|
#ifdef JANET_EV
|
||||||
JANET_CORE_REG("os/sigaction", os_sigaction),
|
JANET_CORE_REG("os/sigaction", os_sigaction),
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* high resolution timers */
|
/* high resolution timers */
|
||||||
|
|||||||
Reference in New Issue
Block a user