Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
ce6d8236
Commit
ce6d8236
authored
Nov 16, 2006
by
Marian Durkovic
Browse files
Fix detection of FreeBSD version (the previous one doesn't seem to work)
parent
1cbc005b
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc_common.h
View file @
ce6d8236
...
...
@@ -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. */
...
...
src/extras/libc.c
View file @
ce6d8236
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment