aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-08-30 08:24:36 -0700
committerGarrett D'Amore <garrett@damore.org>2018-08-30 08:24:36 -0700
commit156097e6c602b8f307fad62ed0ca1b4547f6c2d5 (patch)
treea1e9fd530b190c8cba1af1eb1729e8aba9880364 /CMakeLists.txt
parent3df688126be2b4147ae07ba04a584493c966172d (diff)
downloadnng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.tar.gz
nng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.tar.bz2
nng-156097e6c602b8f307fad62ed0ca1b4547f6c2d5.zip
fixes #684 CentOS 5 broken -- has epoll but not eventfd
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index adcd039d..ee05c64b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -441,6 +441,7 @@ else ()
nng_check_sym (backtrace_symbols_fd execinfo.h NNG_HAVE_BACKTRACE)
nng_check_sym (alloca alloca.h NNG_HAVE_ALLOCA)
nng_check_struct_member(msghdr msg_control sys/socket.h NNG_HAVE_MSG_CONTROL)
+ nng_check_sym (eventfd sys/eventfd NNG_HAVE_EVENTFD)
nng_check_sym (kqueue sys/event.h NNG_HAVE_KQUEUE)
nng_check_sym (port_create port.h NNG_HAVE_PORT_CREATE)
nng_check_sym (epoll_create sys/epoll.h NNG_HAVE_EPOLL)