On Wed, Nov 19, 2003 at 04:57:24PM -0500, Pierre A. Humblet wrote:
> 
> 
> Nicholas Wourms wrote:
> > 
> 
> > > I am not sure if this addresses the problem at hand.
> > > There IS and include file with #define foo __foo
> > > but configure runs in a problem when it calls foo() without including
> > > said include file. Thus we would like to have both __foo and foo.
> > 
> > Noooooo, you have to do it in the library source file, not the header,
> > that way the symbol is properly generated in the library dll.  This is
> > quite similar to the way cygwin.din maps some symbols to underscore
> > aliases (or visa-versa).
> 
> Yep, but the bind people have already done it in the header.
> (not sure why).

I guess the whole idea was to allow systems to update to bind8 when
there are already bind4 functions in the system libs.  It would
allow to link against the bind8 libresolv without name clashing.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to