aix: add stub function to satisfy linker (#4903)

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.
This commit is contained in:
Ben Noordhuis 2025-10-05 18:40:12 +02:00 committed by GitHub
parent ee67f3db88
commit 87943b03b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -767,7 +767,11 @@ void uv__ahafs_event(uv_loop_t* loop, uv__io_t* event_watch, unsigned int fflags
handle->cb(handle, fname, events, 0);
}
#endif
#else /* !HAVE_SYS_AHAFS_EVPRODS_H */
void uv__ahafs_event(uv_loop_t* loop, uv__io_t* event_watch, unsigned int fflags) {
/* Stub function to satisfy the linker. */
}
#endif /* HAVE_SYS_AHAFS_EVPRODS_H */
int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle) {