aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-04-29 10:27:33 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2013-04-29 10:27:33 -0700
commit7226806e8db493b15c6a2bd396bd506645e6e8a4 (patch)
treef75d8ff3cb97ea8864f8165960a2391847bf8bc5 /src
parent33029bcedd982f80f7e380bff586f3ab644decce (diff)
parent33912d1f237537f51f29ca06e3e396f04aeb4671 (diff)
downloadbitcoin-7226806e8db493b15c6a2bd396bd506645e6e8a4.tar.xz
Merge pull request #2569 from sipa/win1024fd
Allow select()ing up to 1024 file descriptors on Windows
Diffstat (limited to 'src')
-rw-r--r--src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 79ebb9323a..706221692b 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -11,6 +11,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
+#define FD_SETSIZE 1024 // max number of fds in fd_set
#include <winsock2.h>
#include <mswsock.h>
#include <ws2tcpip.h>