log2, log2f

Corinna Vinschen vinschen@redhat.com
Wed Mar 18 18:20:00 GMT 2009


On Mar 18 12:18, Yaakov S wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Corinna Vinschen wrote:
> > First declare the function, then define the macro in the same header.
> > In the source, undef the function name.  This is also done for stdio
> > functions like getchar, getwchar, for instance.
> 
> Like this?


Yep, that should do it.  This allows to use the macros and to link against
the functions.


Corinna


-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list