mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
libuv: process: de-duplicate conditions for using kqueue
Its platform-specific headers provide a dedicated indicator. Backport libuv PR 4378.
This commit is contained in:
@@ -81,11 +81,7 @@ extern char **environ;
|
||||
|
||||
#ifdef CMAKE_BOOTSTRAP
|
||||
#define UV_USE_SIGCHLD
|
||||
#elif defined(__APPLE__) || \
|
||||
defined(__DragonFly__) || \
|
||||
defined(__FreeBSD__) || \
|
||||
defined(__NetBSD__) || \
|
||||
defined(__OpenBSD__)
|
||||
#elif defined(UV_HAVE_KQUEUE)
|
||||
#include <sys/event.h>
|
||||
#else
|
||||
#define UV_USE_SIGCHLD
|
||||
|
||||
Reference in New Issue
Block a user