Problem: ZMQ_USE_EPOLL_CLOEXEC not renamed to new name

Solution: rename it
This commit is contained in:
KIU Shueng Chuan 2018-06-04 23:17:57 +08:00
parent 9ca3821d9a
commit 5a1ea0c398

View File

@ -54,7 +54,7 @@ const zmq::epoll_t::epoll_fd_t zmq::epoll_t::epoll_retired_fd =
zmq::epoll_t::epoll_t (const zmq::thread_ctx_t &ctx_) :
worker_poller_base_t (ctx_)
{
#ifdef ZMQ_USE_EPOLL_CLOEXEC
#ifdef ZMQ_IOTHREAD_POLLER_USE_EPOLL_CLOEXEC
// Setting this option result in sane behaviour when exec() functions
// are used. Old sockets are closed and don't block TCP ports, avoid
// leaks, etc.