From f3ce527ea940d926c40878ba5de219640c362811 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 7 Oct 2025 23:08:33 +0200 Subject: [PATCH] ibmi: add stub function to satisfy linker (#4905) Add a stub function for no-ahafs builds. src/unix/core.c won't actually call uv__ahafs_event but the linker still needs to see a symbol. Like commit 87943b03 but for IBM i instead of AIX this time. --- src/unix/ibmi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/unix/ibmi.c b/src/unix/ibmi.c index fe270f8c5..f4f8748a8 100644 --- a/src/unix/ibmi.c +++ b/src/unix/ibmi.c @@ -538,3 +538,9 @@ int uv_get_process_title(char* buffer, size_t size) { void uv__process_title_cleanup(void) { } + +void uv__ahafs_event(uv_loop_t* loop, + uv__io_t* event_watch, + unsigned int fflags) { + /* Stub function to satisfy the linker. */ +}