cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: design problem with CURL_SIZEOF_LONG in 7.19.0

From: Ramesh Nagul <ramesh.nagul_at_protexis.com>
Date: Thu, 4 Sep 2008 14:26:23 -0700

Has anyone tried building libCurl for Mac OS X into a Universal Binary. I
built one, but keep getting curl_easy_send and curl_easy_recv as undefined
symbols when I link to the lib I build.

Ramesh

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Thursday, September 04, 2008 1:22 PM
To: libcurl development
Subject: Re: design problem with CURL_SIZEOF_LONG in 7.19.0

On Thu, 4 Sep 2008, Mohun Biswas wrote:

> Could the stuff in curlbuild.h/curlrules.h be wrapped in ifdefs such that
> someone in my position could override the checks by simply asserting "I
know
> the answers and here they are"? I.e. something like
>
> #if !defined(CURL_SIZEOF_CURL_OFF_T)
> #endif
>
> and
>
> #if !defined(CURL_SIZEOF_LONG)
> #endif

I certainly wouldn't mind a system that lets users of these files override
the
values they want to define.

But header files that are "generated" at configure time for the particular
build you're about to do is here to stay for libcurl in my opinion, and I
can
see some more uses of this get introduced soon. We have in fact had some
problems in the past because of the 100% generic headers, and now we have
the
chance to fix those flaws.

-- 
  / daniel.haxx.se
Received on 2008-09-04