mirror of https://github.com/aria2/aria2
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined FD_SETSIZE 1024 for MinGW32. * src/a2netcompat.hpull/1/head
parent
6f6fc38205
commit
abc4abc914
|
@ -1,3 +1,8 @@
|
|||
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Defined FD_SETSIZE 1024 for MinGW32.
|
||||
* src/a2netcompat.h
|
||||
|
||||
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed compile error on the system which lacks poll()
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
# define WINVER 0x501
|
||||
# endif // !WINVER
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# ifndef FD_SETSIZE
|
||||
# define FD_SETSIZE 1024
|
||||
# endif // !FD_SETSIZE
|
||||
# include <winsock2.h>
|
||||
# undef ERROR
|
||||
# endif // HAVE_WINSOCK2_H
|
||||
|
|
Loading…
Reference in New Issue