[MPlayer-dev-eng] [Patch] NetBSD compilation fix: strtof() -> strod() in freesdb
Rich Felker
dalias at aerifal.cx
Tue Jul 25 19:51:31 CEST 2006
On Tue, Jul 25, 2006 at 03:17:23PM +0200, Reimar Doeffinger wrote:
> 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.
Agree, the cast is stupid, as is using the C99 float functions in
general.
Rich
More information about the MPlayer-dev-eng
mailing list