浏览代码

mingw: Change FD_SETSIZE to 32768

Tatsuhiro Tsujikawa 9 年之前
父节点
当前提交
a86a823f50
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common.h

+ 1 - 1
src/common.h

@@ -58,7 +58,7 @@
 #endif // _WIN32_WINNT
 #ifdef HAVE_WINSOCK2_H
 #ifndef FD_SETSIZE
-#define FD_SETSIZE 1024
+#define FD_SETSIZE 32768
 #endif // !FD_SETSIZE
 #include <winsock2.h>
 #undef ERROR