2010-08-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added AI_V4MAPPED to DEFAULT_AI_FLAGS
	* src/a2netcompat.h
pull/1/head
Tatsuhiro Tsujikawa 2010-08-05 11:50:46 +00:00
parent 785a27f6e8
commit cba1283aae
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-08-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added AI_V4MAPPED to DEFAULT_AI_FLAGS
* src/a2netcompat.h
2010-08-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Add only gracefully disconnected peer to ut_pex dropped list. Add

View File

@ -100,12 +100,16 @@
# define sock_t int
#endif
#ifdef AI_ADDRCONFIG
# define DEFAULT_AI_FLAGS AI_ADDRCONFIG
#else // !AI_ADDRCONFIG
# define DEFAULT_AI_FLAGS 0
#ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
#endif // !AI_ADDRCONFIG
#ifndef AI_V4MAPPED
# define AI_V4MAPPED 0
#endif // !AI_V4MAPPED
#define DEFAULT_AI_FLAGS (AI_V4MAPPED|AI_ADDRCONFIG)
#ifdef __MINGW32__
template<typename T>
class wsaapi_auto_delete {