summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-27 00:25:03 (GMT)
committerYang Tse <yangsita@gmail.com>2008-08-27 00:25:03 (GMT)
commitb487ac8f703951d4cdce586006a0f740a695cbc4 (patch)
treec681497af378a8accda29d037190213138b3085f /setup_once.h
parentc035f2d3a4d847328342d46b791da5d314a83bfa (diff)
downloadc-ares-b487ac8f703951d4cdce586006a0f740a695cbc4.zip
c-ares-b487ac8f703951d4cdce586006a0f740a695cbc4.tar.gz
c-ares-b487ac8f703951d4cdce586006a0f740a695cbc4.tar.bz2
Don't abort configuration if recvfrom() is not available.
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup_once.h b/setup_once.h
index 4a71c29..4f88d99 100644
--- a/setup_once.h
+++ b/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 */
/*