summaryrefslogtreecommitdiff
path: root/ares/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-27 00:25:02 +0000
committerYang Tse <yangsita@gmail.com>2008-08-27 00:25:02 +0000
commitf9894f4ebcbe863c5075d411585dbca75311d427 (patch)
treeda63587eac2ac3037f6bb7ea848c80845d334a39 /ares/setup_once.h
parent74d3b80d707a1018cd08fe53685e4744131f378b (diff)
downloadcurl-f9894f4ebcbe863c5075d411585dbca75311d427.tar.gz
Don't abort configuration if recvfrom() is not available.
Diffstat (limited to 'ares/setup_once.h')
-rw-r--r--ares/setup_once.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h
index 4a71c2919..4f88d9994 100644
--- a/ares/setup_once.h
+++ b/ares/setup_once.h
@@ -191,6 +191,7 @@ struct timeval {
#endif /* HAVE_SEND */
+#if 0
#if defined(HAVE_RECVFROM)
/*
* Currently recvfrom is only used on udp sockets.
@@ -227,6 +228,7 @@ struct timeval {
#else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif
+#endif /* if 0 */
/*