curl-library
Re: yangtse: curl/include/curl multi.h,1.27,1.28
Date: Mon, 19 Dec 2005 08:34:50 +0100 (CET)
On Mon, 19 Dec 2005, Yang Tse wrote:
> I don't like very much how the inclusions are done in the public
> headers. Anyway, while we come up with something else the change has
> been undone to the the following three headers: ares/ares.h
> ares/nameser.h and include/curl/multi.h
Right. We need to make the inclusions based on results from the configure
script and abandon the idea of having them agnostic of those facts.
The only thing that still have prevented me from doing so, is that I haven't
yet figured out a nice way of doing that. The requirements would be 1) it
should work even for non-configure uses and 2) defines/ifdefs should use our
own name-scope (i.e defines prefixed with CURL_ and not simply using HAVE_).
The sys/select.h inclusion in curl/multi.h is a perfect example, and it is one
of the custom patches the NetBSD people to do curl in their packaging.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-12-19