aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-21 14:04:14 +0000
committerYang Tse <yangsita@gmail.com>2008-05-21 14:04:14 +0000
commitd8efc9921766c72a7da1c878c4cb05cde2f0e6f6 (patch)
treec5feffbae411ba02861ba60ba0ab616fc5bb3876 /lib
parent0163b5b8be819bceb66546d6205c8d57913fc3ee (diff)
fix: remove need and definition of HAVE_SOCKLEN_T symbol
Diffstat (limited to 'lib')
-rw-r--r--lib/setup_once.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 83ee95cf4..b0355e289 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -107,11 +107,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