Skip to content

Commit

Permalink
unix: de-duplicate conditions for using kqueue (libuv#4378)
Browse files Browse the repository at this point in the history
Our platform-specific headers provide a dedicated indicator.
  • Loading branch information
bradking authored Apr 14, 2024
1 parent 17219b8 commit f50ae53
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/unix/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f50ae53

Please sign in to comment.