Commit 182669a7 authored by Gildas Bazin's avatar Gildas Bazin

* include/vlc_common.h: if strtof() is not available, try to replace it with strtod().

parent d1c124b7
......@@ -777,6 +777,12 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_atof NULL
#endif
#ifndef HAVE_STRTOF
# ifdef HAVE_STRTOD
# define strtof strtod
# endif
#endif
#ifndef HAVE_ATOLL
# define atoll vlc_atoll
VLC_EXPORT( int64_t, vlc_atoll, ( const char *nptr ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment