Commit abed2515 authored by Eric Petit's avatar Eric Petit

Force lldiv emulation on BeOS

parent 8eb76cd7
...@@ -873,7 +873,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -873,7 +873,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_strtoll NULL # define vlc_strtoll NULL
#endif #endif
#ifndef HAVE_LLDIV #if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
typedef struct { typedef struct {
long long quot; /* Quotient. */ long long quot; /* Quotient. */
long long rem; /* Remainder. */ long long rem; /* Remainder. */
......
...@@ -346,7 +346,7 @@ int64_t vlc_atoll( const char *nptr ) ...@@ -346,7 +346,7 @@ int64_t vlc_atoll( const char *nptr )
/***************************************************************************** /*****************************************************************************
* lldiv: returns quotient and remainder * lldiv: returns quotient and remainder
*****************************************************************************/ *****************************************************************************/
#if !defined( HAVE_LLDIV ) #if !defined(HAVE_LLDIV) || defined(SYS_BEOS)
lldiv_t vlc_lldiv( long long numer, long long denom ) lldiv_t vlc_lldiv( long long numer, long long denom )
{ {
lldiv_t d; 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