Fix detection of FreeBSD version (the previous one doesn't seem to work)

This commit is contained in:
Marian Durkovic 2006-11-16 13:41:17 +00:00
parent 1cbc005bd3
commit ce6d823658
2 changed files with 2 additions and 2 deletions

View File

@ -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. */

View File

@ -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;