Skip to contentSkip to conversation

CURL_MULTI doesn't work on Mac OS X darwinports

PATCH Bryan Larsen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

CURL_MULTI causes a segfault on Mac OS X Darwin with MacPorts. Disable.

From: Bryan Larsen <[email protected]>
---

 http.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
http.h +2 -0
index 324fcf4..60100a3 100644
@@ -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)