diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-04-29 10:27:33 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-04-29 10:27:33 -0700 |
| commit | 7226806e8db493b15c6a2bd396bd506645e6e8a4 (patch) | |
| tree | f75d8ff3cb97ea8864f8165960a2391847bf8bc5 /src | |
| parent | Merge pull request #2586 from laanwj/2013_04_winsock_init (diff) | |
| parent | Allow select()ing up to 1024 file descriptors on Windows (diff) | |
| download | discoin-7226806e8db493b15c6a2bd396bd506645e6e8a4.tar.xz discoin-7226806e8db493b15c6a2bd396bd506645e6e8a4.zip | |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index 79ebb9323..706221692 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> |