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:
parent
ee67f3db88
commit
87943b03b3
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user