]> granicus.if.org Git - libevent/commitdiff
Fix kqueue support.
authorJoakim Söderberg <joakim.soderberg@gmail.com>
Tue, 17 Dec 2013 12:29:04 +0000 (13:29 +0100)
committerJoakim Söderberg <joakim.soderberg@gmail.com>
Tue, 17 Dec 2013 12:29:04 +0000 (13:29 +0100)
CMakeLists.txt

index 178d9ba21ac08e828c48675cc8b685e1eb4f1b00..00cac54e919eddf15488302f79ca583d6f9bf147 100644 (file)
@@ -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)