unix: fix build on the bsds (#4870)

Fix build breakage introduced a couple of days ago in commit 3813460d
("unix: replace uv__io_t callback pointer with enum"). Mea culpa.

Fixes: https://github.com/libuv/libuv/issues/4864
This commit is contained in:
Ben Noordhuis 2025-08-25 16:21:37 +02:00 committed by GitHub
parent 12fbd34475
commit 36d6a17c9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,7 +297,11 @@ void uv__udp_io(uv_loop_t* loop, uv__io_t* w, unsigned int events);
#define uv__ahafs_event(loop, w, events) UNREACHABLE()
#endif
#ifndef __APPLE__
#if !defined(__APPLE__) && \
!defined(__DragonFly__) && \
!defined(__FreeBSD__) && \
!defined(__NetBSD__) && \
!defined(__OpenBSD__)
#define uv__fs_event(loop, w, events) UNREACHABLE()
#endif