From ca1acc340c256a35f0db58805bba7cb337d9a5a3 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 3 Feb 2011 08:46:04 +0100 Subject: RLIMIT_NOFILE not used in poll_t anymore The problem was that RLIMIT_NOFILE can be set to RLIM_INIFINITY (and that appears to be default on AIX) which caused 0MQ to fail. Signed-off-by: Martin Sustrik --- src/poll.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/poll.hpp') diff --git a/src/poll.hpp b/src/poll.hpp index bc5fb5c..82713db 100644 --- a/src/poll.hpp +++ b/src/poll.hpp @@ -76,7 +76,8 @@ namespace zmq }; // This table stores data for registered descriptors. - std::vector fd_table; + typedef std::vector fd_table_t; + fd_table_t fd_table; // Pollset to pass to the poll function. typedef std::vector pollset_t; -- cgit v1.2.3