Allow select()ing up to 1024 file descriptors on Windows

This commit is contained in:
Pieter Wuille 2013-04-26 01:05:35 +02:00
parent 77a1e12eed
commit 33912d1f23

View file

@ -11,6 +11,7 @@
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif
#define FD_SETSIZE 1024 // max number of fds in fd_set
#include <winsock2.h> #include <winsock2.h>
#include <mswsock.h> #include <mswsock.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>