Browse Source

Merge pull request #2569 from sipa/win1024fd

Allow select()ing up to 1024 file descriptors on Windows
0.8
Wladimir J. van der Laan 12 years ago
parent
commit
7226806e8d
  1. 1
      src/compat.h

1
src/compat.h

@ -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>

Loading…
Cancel
Save