Commit 6cac84aa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport [17788] and [17789]: replace lldiv on FreeBSD 4 (close #840)

parent 33552358
...@@ -880,7 +880,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -880,7 +880,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