unix: fix build on the bsds

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:10:58 +02:00
parent 12fbd34475
commit a28f10ff74

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