unix: de-duplicate conditions for using kqueue (#4378)
Our platform-specific headers provide a dedicated indicator.
This commit is contained in:
parent
17219b8f39
commit
f50ae53c42
@ -63,11 +63,7 @@ extern char **environ;
|
|||||||
# include "zos-base.h"
|
# include "zos-base.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) || \
|
#ifdef UV_HAVE_KQUEUE
|
||||||
defined(__DragonFly__) || \
|
|
||||||
defined(__FreeBSD__) || \
|
|
||||||
defined(__NetBSD__) || \
|
|
||||||
defined(__OpenBSD__)
|
|
||||||
#include <sys/event.h>
|
#include <sys/event.h>
|
||||||
#else
|
#else
|
||||||
#define UV_USE_SIGCHLD
|
#define UV_USE_SIGCHLD
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user