From 5a1ea0c398496b8c8da96c981bac737fc5364823 Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Mon, 4 Jun 2018 23:17:57 +0800 Subject: [PATCH] Problem: ZMQ_USE_EPOLL_CLOEXEC not renamed to new name Solution: rename it --- src/epoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epoll.cpp b/src/epoll.cpp index 91173c51..60c4ad40 100644 --- a/src/epoll.cpp +++ b/src/epoll.cpp @@ -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.