mirror of
https://github.com/janet-lang/janet
synced 2025-11-06 18:43:04 +00:00
Address #1609 - compile with JANET_NO_PROCESSES
This commit is contained in:
@@ -2863,6 +2863,7 @@ 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),
|
||||||
|
JANET_CORE_REG("os/sigaction", os_sigaction),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* high resolution timers */
|
/* high resolution timers */
|
||||||
@@ -2871,7 +2872,6 @@ void janet_lib_os(JanetTable *env) {
|
|||||||
#ifdef JANET_EV
|
#ifdef JANET_EV
|
||||||
JANET_CORE_REG("os/open", os_open), /* fs read and write */
|
JANET_CORE_REG("os/open", os_open), /* fs read and write */
|
||||||
JANET_CORE_REG("os/pipe", os_pipe),
|
JANET_CORE_REG("os/pipe", os_pipe),
|
||||||
JANET_CORE_REG("os/sigaction", os_sigaction),
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
JANET_REG_END
|
JANET_REG_END
|
||||||
|
|||||||
Reference in New Issue
Block a user