Skip to content

Commit

Permalink
Use lldiv replacement on FreeBSD < 5.0 (fixes #840)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Nov 15, 2006
1 parent 5cb9c9d commit 95db534
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/vlc_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_strtoll NULL
#endif

#if defined(SYS_BEOS)
#if defined(SYS_BEOS) \
|| (defined (__FreeBSD__) && (__FreeBSD_version < 500000))
typedef struct {
long long quot; /* Quotient. */
long long rem; /* Remainder. */
Expand Down

0 comments on commit 95db534

Please sign in to comment.