Commit 9c961cc5 authored by Gildas Bazin's avatar Gildas Bazin

* modules/demux/mkv.cpp: compile fix for systems not supporting gmtime_r().

parent 297cd739
...@@ -273,7 +273,7 @@ CPPFLAGS_save="${CPPFLAGS_save} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcd ...@@ -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 ...@@ -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 @@ ...@@ -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 ) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment