mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
FD_SETSIZE for internal polling defaults to 1024
If, when compiling 0MQ you don't set FD_SETSIZE, it defaults to 1024 rather than to 64. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
b90e621329
commit
2246689c8f
@ -23,6 +23,9 @@
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef ZMQ_HAVE_WINDOWS
|
||||
#if !defined FD_SETSIZE
|
||||
#define FD_SETSIZE 1024
|
||||
#endif
|
||||
#include "winsock2.h"
|
||||
#elif defined ZMQ_HAVE_HPUX
|
||||
#include <sys/param.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user