1
0
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:
Calvin Rose
2025-07-13 18:24:23 -05:00
parent 91b7bcad3d
commit 312f9faae8

View File

@@ -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