Commit 95db5344 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use lldiv replacement on FreeBSD < 5.0 (fixes #840)

parent 5cb9c9d9
...@@ -870,7 +870,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -870,7 +870,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_strtoll NULL # define vlc_strtoll NULL
#endif #endif
#if defined(SYS_BEOS) #if defined(SYS_BEOS) \
|| (defined (__FreeBSD__) && (__FreeBSD_version < 500000))
typedef struct { typedef struct {
long long quot; /* Quotient. */ long long quot; /* Quotient. */
long long rem; /* Remainder. */ long long rem; /* Remainder. */
......
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