From: Joakim Söderberg Date: Tue, 17 Dec 2013 12:29:04 +0000 (+0100) Subject: Fix kqueue support. X-Git-Tag: release-2.1.4-alpha~42^2~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a831f2f7decbbb89518790c023b4cf019f8ce6a9;p=libevent Fix kqueue support. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 178d9ba2..00cac54e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -371,6 +371,9 @@ CHECK_FILE_OFFSET_BITS() set(EVENT___FILE_OFFSET_BITS _FILE_OFFSET_BITS) # TODO: Check EVENT__HAVE_WORKING_KQUEUE (Define if kqueue works correctly with pipes) +if (EVENT__HAVE_KQUEUE) + set(EVENT__HAVE_WORKING_KQUEUE 1) +endif() CHECK_SYMBOL_EXISTS(_MINIX "stdio.h" EVENT___MINIX) CHECK_SYMBOL_EXISTS(_POSIX_1_SOURCE "stdio.h" EVENT___POSIX_1_SOURCE)