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
6e14bd65
Commit
6e14bd65
authored
Mar 10, 2006
by
Rémi Denis-Courmont
Browse files
Remove broken lldiv check and only use lldiv replacement on BeOS
parent
e03445eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
6e14bd65
...
...
@@ -404,7 +404,7 @@ need_libc=false
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol strtof strtoll strtoull strsep isatty vasprintf asprintf swab sigrelse getpwuid memalign posix_memalign if_nametoindex atoll getenv putenv setenv gmtime_r ctime_r localtime_r lrintf daemon scandir fork bsearch lstat)
dnl Check for usual libc functions
AC_CHECK_FUNCS(strdup strndup atof
lldiv
)
AC_CHECK_FUNCS(strdup strndup atof)
AC_CHECK_FUNCS(strcasecmp,,[AC_CHECK_FUNCS(stricmp)])
AC_CHECK_FUNCS(strncasecmp,,[AC_CHECK_FUNCS(strnicmp)])
AC_CHECK_FUNCS(strcasestr,,[AC_CHECK_FUNCS(stristr)])
...
...
include/vlc_common.h
View file @
6e14bd65
...
...
@@ -873,7 +873,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define vlc_strtoll NULL
#endif
#if
!defined(HAVE_LLDIV) ||
defined(SYS_BEOS)
#if defined(SYS_BEOS)
typedef
struct
{
long
long
quot
;
/* Quotient. */
long
long
rem
;
/* Remainder. */
...
...
src/extras/libc.c
View file @
6e14bd65
...
...
@@ -346,7 +346,7 @@ int64_t vlc_atoll( const char *nptr )
/*****************************************************************************
* lldiv: returns quotient and remainder
*****************************************************************************/
#if
!defined(HAVE_LLDIV) ||
defined(SYS_BEOS)
#if defined(SYS_BEOS)
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