Browse Source

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

miguelfreitas
Pieter Wuille 12 years ago
parent
commit
33912d1f23
  1. 1
      src/compat.h

1
src/compat.h

@ -11,6 +11,7 @@ @@ -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>

Loading…
Cancel
Save