From: Christian Couder Date: Tue, 12 May 2009 04:25:07 GMT Subject: Re: [PATCH] http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue" Message-ID: <200905120625.07383.chriscool@tuxfamily.org> In-Reply-To: Hi, Le lundi 11 mai 2009, Tay Ray Chuan a écrit : > Hi, > > On Mon, May 11, 2009 at 12:44 AM, Christian Couder > > 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.