Commit 772fa346 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

forwardport [17791]:

* libc.c: Also define the lldiv function itself on FreeBSD < 5 refs #840
parent 1694eb69
...@@ -347,7 +347,8 @@ int64_t vlc_atoll( const char *nptr ) ...@@ -347,7 +347,8 @@ int64_t vlc_atoll( const char *nptr )
/***************************************************************************** /*****************************************************************************
* lldiv: returns quotient and remainder * lldiv: returns quotient and remainder
*****************************************************************************/ *****************************************************************************/
#if defined(SYS_BEOS) #if defined(SYS_BEOS) \
|| (defined (__FreeBSD__) && (__FreeBSD_version__ < 500000))
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