summaryrefslogtreecommitdiff
path: root/config-win32.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
commit269e082f77c34db23eed4e875389f5c8a20fcd5d (patch)
treebdc3f265399cd8ff841f41d121f7c3fc2848c3e3 /config-win32.h
parentb68a4326d206a1239f38b373026c2913cc200f41 (diff)
downloadc-ares-269e082f77c34db23eed4e875389f5c8a20fcd5d.tar.gz
c-ares-269e082f77c34db23eed4e875389f5c8a20fcd5d.tar.bz2
c-ares-269e082f77c34db23eed4e875389f5c8a20fcd5d.zip
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 'config-win32.h')
-rw-r--r--config-win32.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/config-win32.h b/config-win32.h
index a445632..94ffe53 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -146,11 +146,6 @@
#define ssize_t int
#endif
-/* Define to 'int' if socklen_t is not an available 'typedefed' type */
-#ifndef HAVE_WS2TCPIP_H
-#define socklen_t int
-#endif
-
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */