diff options
| author | Pieter Wuille <[email protected]> | 2013-04-26 01:05:35 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-04-26 01:31:10 +0200 |
| commit | 33912d1f237537f51f29ca06e3e396f04aeb4671 (patch) | |
| tree | 2143c2ff3d39f6ea9a6a67879c965fdfac3712b5 /src/compat.h | |
| parent | Merge pull request #2554 from fanquake/qt-pro-brew-patch (diff) | |
| download | discoin-33912d1f237537f51f29ca06e3e396f04aeb4671.tar.xz discoin-33912d1f237537f51f29ca06e3e396f04aeb4671.zip | |
Allow select()ing up to 1024 file descriptors on Windows
Diffstat (limited to 'src/compat.h')
| -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> |