CURL_MULTI doesn't work on Mac OS X darwinports

From: Bryan Larsen <bryan@larsen.st>
Date: 2007-02-19 07:11:51
CURL_MULTI causes a segfault on Mac OS X Darwin with MacPorts.  Disable.

From: Bryan Larsen <bryan@larsen.st>
---

  http.h |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/http.h b/http.h
index 324fcf4..60100a3 100644
--- a/http.h
+++ b/http.h
@@ -6,10 +6,12 @@
  #include <curl/curl.h>
  #include <curl/easy.h>

+#ifndef __DARWIN_UNIX03
  #if LIBCURL_VERSION_NUM >= 0x070908
  #define USE_CURL_MULTI
  #define DEFAULT_MAX_REQUESTS 5
  #endif
+#endif

  #if LIBCURL_VERSION_NUM < 0x070704
  #define curl_global_cleanup() do { /* nothing */ } while(0)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Feb 19 07:11:40 2007

This archive was generated by hypermail 2.1.8 : 2007-02-19 07:13:51 EST