[vlc-devel] Re: strof() replacement?
Gildas Bazin
gbazin at altern.org
Mon Oct 18 08:03:27 CEST 2004
On Monday 18 October 2004 04:22, R. Bernstein wrote:
> I was compiling vlc on a Solaris 8 which doesn't have strtof. Noticing
> that config.h has a preprocessor variable HAVE_STRTOF, I #ifdef'd
> around line 562 of modules/gui/wxwindows/extrapanel.cpp. Was wondering
> if anyone knew of a clean way to replace this. (There is for example
> strtod or sscanf).
>
I just added the following lines to include/vlc_common.h:
#ifndef HAVE_STRTOF
# ifdef HAVE_STRTOD
# define strtof strtod
# endif
#endif
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list