aboutsummaryrefslogtreecommitdiff
path: root/ares/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-21 16:55:39 +0000
committerYang Tse <yangsita@gmail.com>2009-12-21 16:55:39 +0000
commitf0917cabb5a52e8db59755afb55e339f0c309af4 (patch)
treeac12cce80193be42ae15d74036f61330d4e7276d /ares/config-win32.h
parent96395a908a4108d7791aa5d4de22318a1526df42 (diff)
- Ingmar Runge noticed that Windows config-win32.h configuration file
did not include a definition for HAVE_CLOSESOCKET which resulted in function close() being inappropriately used to close sockets.
Diffstat (limited to 'ares/config-win32.h')
-rw-r--r--ares/config-win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/config-win32.h b/ares/config-win32.h
index 7499f3ce7..48af822b9 100644
--- a/ares/config-win32.h
+++ b/ares/config-win32.h
@@ -85,6 +85,9 @@
/* FUNCTIONS */
/* ---------------------------------------------------------------- */
+/* Define if you have the closesocket function. */
+#define HAVE_CLOSESOCKET 1
+
/* Define if you have the gethostname function. */
#define HAVE_GETHOSTNAME 1