Fix kqueue support.

This commit is contained in:
Joakim Söderberg 2013-12-17 13:29:04 +01:00
parent 69c3516be6
commit a831f2f7de

View 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)