2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Defined FD_SETSIZE 1024 for MinGW32.
	* src/a2netcompat.h
pull/1/head
Tatsuhiro Tsujikawa 2010-04-25 10:13:00 +00:00
parent 6f6fc38205
commit abc4abc914
2 changed files with 8 additions and 0 deletions

View File

@ -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()

View File

@ -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