Browse Source

mingw: Change FD_SETSIZE to 32768

Tatsuhiro Tsujikawa 9 năm trước cách đây
mục cha
commit
a86a823f50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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