summaryrefslogtreecommitdiff
path: root/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
commitc2d3f7986be4a594339dd48be7a8483cfb9b543b (patch)
tree5a63a6e213e3ea79d03c8e317975b1c6e6873149 /config-win32.h
parentdf279b133cf034b2cf3875da69a28b3a9bc6ecab (diff)
downloadc-ares-c2d3f7986be4a594339dd48be7a8483cfb9b543b.tar.gz
c-ares-c2d3f7986be4a594339dd48be7a8483cfb9b543b.tar.bz2
c-ares-c2d3f7986be4a594339dd48be7a8483cfb9b543b.zip
- 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 'config-win32.h')
-rw-r--r--config-win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h
index 7499f3c..48af822 100644
--- a/config-win32.h
+++ b/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