[MPlayer-dev-eng] [Patch] NetBSD compilation fix: strtof() -> strod() in freesdb

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 25 15:17:23 CEST 2006


Hello,
On Tue, Jul 25, 2006 at 02:09:13PM +0200, Joerg Sonnenberger wrote:
> On Tue, Jul 25, 2006 at 02:46:31PM +0300, Jan Knutar wrote:
> > The C99 function strtof is unavailable in NetBSD 3.0, probably also not
> > available in OpenBSD.
> 
> It is available in NetBSD current, but add DragonFly to the list.
> This should be made a configure test though.

We don't have any reason not to use strtod so far, so just replacing it
seems fine to me. The (float) cast seems useless to me though.

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list