aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-04-14 05:13:21 -0400
committerGitHub <noreply@github.com>2024-04-14 11:13:21 +0200
commitf50ae53c422b6ec94e33ff1a8b3f6318469749bb (patch)
treebe20ee16563bad5a836d93ea6c234eb533c381cd /src
parent17219b8f39f7cd33472c94214010b603322bd0fa (diff)
downloadlibuv-f50ae53c422b6ec94e33ff1a8b3f6318469749bb.tar.gz
libuv-f50ae53c422b6ec94e33ff1a8b3f6318469749bb.zip
unix: de-duplicate conditions for using kqueue (#4378)
Our platform-specific headers provide a dedicated indicator.
Diffstat (limited to 'src')
-rw-r--r--src/unix/process.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/unix/process.c b/src/unix/process.c
index 4812a90f..bc73cb69 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 <sys/event.h>
#else
#define UV_USE_SIGCHLD