aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-07-21 04:22:44 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-07-21 04:22:44 +0000
commit02938a010db060a3d14ae0df6a3f95941c33b810 (patch)
tree7c201a10bd21bcfd7321b8684f9815f794da60ac /lib/setup.h
parente40641bf7c15f8f4b850d52153b4cca9fd56810f (diff)
Changes for combination ENABLE_IPV6 and USE_ARES.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/setup.h b/lib/setup.h
index f89c82e5f..6e221a136 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -216,7 +216,7 @@ typedef unsigned char bool;
/*
* The definitions for the return type and arguments types
- * of functions recv() and send() belong and come from the
+ * of functions recv() and send() belong and come from the
* configuration file. Do not define them in any other place.
*
* HAVE_RECV is defined if you have a function named recv()
@@ -232,7 +232,7 @@ typedef unsigned char bool;
* If yours has another name then don't define HAVE_SEND.
*
* If HAVE_SEND is defined then SEND_TYPE_ARG1, SEND_QUAL_ARG2,
- * SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4 and
+ * SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4 and
* SEND_TYPE_RETV must also be defined.
*/
@@ -251,7 +251,7 @@ typedef unsigned char bool;
#else /* HAVE_RECV */
#ifdef DJGPP
#define sread(x,y,z) (ssize_t)read_s((int)(x), (char *)(y), (int)(z))
-#endif
+#endif
#endif /* HAVE_RECV */
#ifdef HAVE_SEND
@@ -270,7 +270,7 @@ typedef unsigned char bool;
#else /* HAVE_SEND */
#ifdef DJGPP
#define swrite(x,y,z) (ssize_t)write_s((int)(x), (char *)(y), (int)(z))
-#endif
+#endif
#endif /* HAVE_SEND */
@@ -358,10 +358,6 @@ typedef int curl_socket_t;
#endif /* curl_socket_typedef */
-#if defined(ENABLE_IPV6) && defined(USE_ARES)
-#error "ares does not yet support IPv6. Disable IPv6 or ares and rebuild"
-#endif
-
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(USE_ARES) && \
!defined(__LCC__) /* lcc-win32 doesn't have _beginthreadex() */
#ifdef ENABLE_IPV6