| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Error compiling apps that use curl.h on Solaris with curl 7.17.1
From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 17 Dec 2007 14:31:17 +0100
> We can of course also make it include/curl/types.h.in and just let
I like this approach but I'm unable to see how conditional definition
> I don't want it to rely on any HAVE_* symbols though, as they're
A possible not so bad point of using some HAVE_* symbols is that they
> Actually, I'm now leaning towards bringing my old work on a configure-based
In many library source files we include both curl.h and config.h, I
A platform that does not have a 'native' socklen_t definition now gets
#define socklen_t sometype
curl/config.h would have...
#define CURLCONF_socklen_t sometype
curl/types.h would need...
#ifdef CURLCONF_socklen_t
The above would satisfy the external interface need for a socklen_t definition.
But what happens when libcurl is built and both curl.h and config.h
Eeek. Now config.h also needs to define CURLCONF_socklen_t or at least
As you said this is a tricky problem. And I think that any move done
After all the problem is that it seems that we want to provide a
I hope this makes some sense.
Maybe I should try to complete the include/curl/Makefile.am solution
Somewhat puzzled,
-- -=[Yang]=-Received on 2007-12-17 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info