diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-26 01:05:35 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-26 01:31:10 +0200 |
commit | 33912d1f237537f51f29ca06e3e396f04aeb4671 (patch) | |
tree | 2143c2ff3d39f6ea9a6a67879c965fdfac3712b5 /src | |
parent | 77a1e12eed5fc66dce16584696f54988a8c2bf4e (diff) |
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 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> |