Commit 6e14bd65 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove broken lldiv check and only use lldiv replacement on BeOS

parent e03445eb
......@@ -404,7 +404,7 @@ need_libc=false
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat)
dnl Check for usual libc functions
AC_CHECK_FUNCS(strdup strndup atof lldiv)
AC_CHECK_FUNCS(strdup strndup atof)
......@@ -873,7 +873,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_strtoll NULL
#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
#if defined(SYS_BEOS)
typedef struct {
long long quot; /* Quotient. */
long long rem; /* Remainder. */
......@@ -346,7 +346,7 @@ int64_t vlc_atoll( const char *nptr )
* lldiv: returns quotient and remainder
#if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
#if defined(SYS_BEOS)
lldiv_t vlc_lldiv( long long numer, long long denom )
lldiv_t d;
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