mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
* modules/demux/mkv.cpp: compile fix for systems not supporting gmtime_r().
This commit is contained in:
parent
297cd7399d
commit
9c961cc5b8
@ -273,7 +273,7 @@ CPPFLAGS_save="${CPPFLAGS_save} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcd
|
|||||||
dnl Check for system libs needed
|
dnl Check for system libs needed
|
||||||
need_libc=false
|
need_libc=false
|
||||||
|
|
||||||
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 if_nametoindex atoll getenv putenv setenv)
|
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 if_nametoindex atoll getenv putenv setenv gmtime_r)
|
||||||
|
|
||||||
dnl Check for usual libc functions
|
dnl Check for usual libc functions
|
||||||
AC_CHECK_FUNCS(strdup strndup atof lseek)
|
AC_CHECK_FUNCS(strdup strndup atof lseek)
|
||||||
@ -2483,7 +2483,6 @@ if test "${enable_basic_skins}" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
PLUGINS="${PLUGINS} basic_skins"
|
PLUGINS="${PLUGINS} basic_skins"
|
||||||
CPPFLAGS_basic_skins="${CPPFLAGS_basic_skins} -DBASIC_SKINS"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* mkv.cpp : matroska demuxer
|
* mkv.cpp : matroska demuxer
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 2001 VideoLAN
|
* Copyright (C) 2001 VideoLAN
|
||||||
* $Id: mkv.cpp,v 1.12 2003/06/24 23:00:32 fenrir Exp $
|
* $Id: mkv.cpp,v 1.13 2003/06/25 09:13:03 gbazin Exp $
|
||||||
*
|
*
|
||||||
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
|
||||||
*
|
*
|
||||||
@ -434,7 +434,7 @@ static int Activate( vlc_object_t * p_this )
|
|||||||
|
|
||||||
msg_Dbg( p_input, "| | + Title=%s", p_sys->psz_title );
|
msg_Dbg( p_input, "| | + Title=%s", p_sys->psz_title );
|
||||||
}
|
}
|
||||||
#ifdef HAVE_TIME_H
|
#ifdef HAVE_GMTIME_R
|
||||||
else if( EbmlId( *el2 ) == KaxDateUTC::ClassInfos.GlobalId )
|
else if( EbmlId( *el2 ) == KaxDateUTC::ClassInfos.GlobalId )
|
||||||
{
|
{
|
||||||
KaxDateUTC &date = *(KaxDateUTC*)el2;
|
KaxDateUTC &date = *(KaxDateUTC*)el2;
|
||||||
|
Loading…
Reference in New Issue
Block a user