mirror of
https://github.com/videolan/vlc.git
synced 2025-01-10 17:58:22 +08:00
Fix detection of FreeBSD version (the previous one doesn't seem to work)
This commit is contained in:
parent
1cbc005bd3
commit
ce6d823658
@ -871,7 +871,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
|
||||
#endif
|
||||
|
||||
#if defined(SYS_BEOS) \
|
||||
|| (defined (__FreeBSD__) && (__FreeBSD_version__ < 500000))
|
||||
|| (defined (__FreeBSD__) && (__FreeBSD__ < 5))
|
||||
typedef struct {
|
||||
long long quot; /* Quotient. */
|
||||
long long rem; /* Remainder. */
|
||||
|
@ -348,7 +348,7 @@ int64_t vlc_atoll( const char *nptr )
|
||||
* lldiv: returns quotient and remainder
|
||||
*****************************************************************************/
|
||||
#if defined(SYS_BEOS) \
|
||||
|| (defined (__FreeBSD__) && (__FreeBSD_version__ < 500000))
|
||||
|| (defined (__FreeBSD__) && (__FreeBSD__ < 5))
|
||||
lldiv_t vlc_lldiv( long long numer, long long denom )
|
||||
{
|
||||
lldiv_t d;
|
||||
|
Loading…
Reference in New Issue
Block a user