Commit b8dfb69c authored by Sergey Lyubka's avatar Sergey Lyubka

Merge pull request #514 from cesanta/fix_setsize

Fix default windows FD_SETSIZE, closes #506
parents 5c7aeac1 1cd97150
...@@ -95,6 +95,9 @@ ...@@ -95,6 +95,9 @@
#include <BaseTsd.h> #include <BaseTsd.h>
typedef SSIZE_T ssize_t; typedef SSIZE_T ssize_t;
#endif #endif
#ifndef FD_SETSIZE
#define FD_SETSIZE 1024
#endif
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <windows.h> #include <windows.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment