summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-21 14:04:14 (GMT)
committerYang Tse <yangsita@gmail.com>2008-05-21 14:04:14 (GMT)
commit41b0e80a3facb8fc3824ad32cc5ae195e8cebf4e (patch)
tree045c6c73f5b975ce04a7f7473240796c3a4ef3c0 /setup_once.h
parente842c9ca3b2f2716d0f78f27078ec3efab102311 (diff)
downloadc-ares-41b0e80a3facb8fc3824ad32cc5ae195e8cebf4e.zip
c-ares-41b0e80a3facb8fc3824ad32cc5ae195e8cebf4e.tar.gz
c-ares-41b0e80a3facb8fc3824ad32cc5ae195e8cebf4e.tar.bz2
fix: remove need and definition of HAVE_SOCKLEN_T symbol
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup_once.h b/setup_once.h
index 20969d4..59ed25c 100644
--- a/setup_once.h
+++ b/setup_once.h
@@ -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