This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: log2, log2f
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