From f50ae53c422b6ec94e33ff1a8b3f6318469749bb Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 14 Apr 2024 05:13:21 -0400 Subject: [PATCH] unix: de-duplicate conditions for using kqueue (#4378) Our platform-specific headers provide a dedicated indicator. --- src/unix/process.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/unix/process.c b/src/unix/process.c index 4812a90f2f5..bc73cb694c6 100644 --- a/src/unix/process.c +++ b/src/unix/process.c @@ -63,11 +63,7 @@ extern char **environ; # include "zos-base.h" #endif -#if defined(__APPLE__) || \ - defined(__DragonFly__) || \ - defined(__FreeBSD__) || \ - defined(__NetBSD__) || \ - defined(__OpenBSD__) +#ifdef UV_HAVE_KQUEUE #include #else #define UV_USE_SIGCHLD