Re: [PATCH] http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- May 12, 2009, 04:25 UTC
- Message-ID
- <200905120625.07383.chriscool@tuxfamily.org>
- In-Reply-To
- <be6fef0d0905110525p7e7072d3y18f5c99b782c9bf9@mail.gmail.com>
Hi,
Le lundi 11 mai 2009, Tay Ray Chuan a écrit :
Show 9 quoted lines
> Hi, > > On Mon, May 11, 2009 at 12:44 AM, Christian Couder > > <chriscool@tuxfamily.org> wrote: > > As it is breaking the build when USE_CURL_MULTI is not defined. > > thanks for catching this. By the way, how did you catch this? Are you > building without USE_CURL_MULTI defined?
My main development box still runs an old Kubuntu Feisty (7.04). It has some libcurl3 packages version 7.15.5-1ubuntu2.
In "/usr/include/curl/curlver.h", I have:
#define LIBCURL_VERSION_NUM 0x070f05
and in "http.h" there is:
#if LIBCURL_VERSION_NUM >= 0x071000 #define USE_CURL_MULTI #define DEFAULT_MAX_REQUESTS 5 #endif
so yes, I think USE_CURL_MULTI is not defined on my box and that's why the build failed on it.
Regards, Christian.