curl-library
Re: Defines/ifdefs name-scope
Date: Fri, 17 Feb 2006 10:15:40 -0800
On Fri, Feb 17, 2006 at 05:58:36PM +0100, Yang Tse wrote:
> I'm planning to change some of the defines we are right now using in
> curls' code base, as a step towards having our source code defines and
> ifdefs belong to our own name-scope.
>
> At this stage I'm looking at HAVE_WINDOWS_H, HAVE_WINSOCK2_H,
> HAVE_WS2TCPIP_H and HAVE_WINSOCK_H.
>
> In a first approach HAVE_WINDOWS_H would become CURL_HAVE_WINDOWS_H
> and ac_cv_header_windows_h would become curl_cv_header_windows_h.
>
> But the problem is what to do with cares. Should we also use the above
> replacements for cares also or should we use CARES_HAVE_WINDOWS_H and
> cares_cv_header_windows_h instead ?
>
> Of course HAVE_WINDOWS_H has been used as an example but we would face
> the same problem for all of the defines which are common for CURL and
> CARES.
>
> Any comments ?
These are standard autoconf definitions. Are you planning on renaming
all 150 of them? What would you gain?
>>> Da
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2006-02-17