From 36d6a17c9aa91cd4f842ae01053d6201d94a6fb6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 25 Aug 2025 16:21:37 +0200 Subject: [PATCH] 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 --- src/unix/internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/unix/internal.h b/src/unix/internal.h index ac37fbdfe..c9704a8bd 100644 --- a/src/unix/internal.h +++ b/src/unix/internal.h @@ -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