aboutsummaryrefslogtreecommitdiff
path: root/ares/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-10-24 14:39:07 +0000
committerYang Tse <yangsita@gmail.com>2007-10-24 14:39:07 +0000
commit08c5e2a194876be4db31536ac0211695c12aa266 (patch)
tree4946697d72b5a80200d2d41c02b84e752cb96799 /ares/setup.h
parentc67c54d4b3d981bd1763a6f64fe5804c390a74f9 (diff)
Windows build targets have socklen_t definition in ws2tcpip.h but some
versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available.
Diffstat (limited to 'ares/setup.h')
-rw-r--r--ares/setup.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ares/setup.h b/ares/setup.h
index a20b8f1b7..29e5d0f1f 100644
--- a/ares/setup.h
+++ b/ares/setup.h
@@ -97,10 +97,6 @@
#define ssize_t int
#endif
-#ifndef HAVE_WS2TCPIP_H
-#define socklen_t int
-#endif
-
#endif /* HAVE_CONFIG_H */
/*