1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-20 20:35:12 +00:00

fix: remove need and definition of HAVE_SOCKLEN_T symbol

This commit is contained in:
Yang Tse
2008-05-21 14:04:14 +00:00
parent e842c9ca3b
commit 41b0e80a3f
2 changed files with 1 additions and 6 deletions

View File

@ -100,11 +100,10 @@ struct timeval {
* definition is present the other one also is available.
*/
#if defined(WIN32) && !defined(HAVE_SOCKLEN_T)
#if defined(WIN32) && !defined(HAVE_CONFIG_H)
# if ( defined(_MSC_VER) && !defined(INET_ADDRSTRLEN) ) || \
(!defined(_MSC_VER) && !defined(HAVE_WS2TCPIP_H) )
# define socklen_t int
# define HAVE_SOCKLEN_T
# endif
#endif