[vlc-devel] commit: We have a replacement for localtime_r ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Aug 24 19:37:52 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 24 20:37:45 2009 +0300| [777c432b72d95bea2d8b8d736d244436c0dbb8b8] | committer: Rémi Denis-Courmont 

We have a replacement for localtime_r

(cherry picked from commit 3663b861e8b7879dcf01bc777f6190981dff116b)

Conflicts:

	src/input/item.c

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=777c432b72d95bea2d8b8d736d244436c0dbb8b8
---

 src/input/item.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/input/item.c b/src/input/item.c
index c8158af..13c9d59 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -712,7 +712,6 @@ void input_item_SetEpg( input_item_t *p_item,
 {
     input_item_DelInfo( p_item, psz_epg, NULL );
 
-#ifdef HAVE_LOCALTIME_R
     vlc_mutex_lock( &p_item->lock );
     for( int i = 0; i < p_epg->i_event; i++ )
     {
@@ -745,7 +744,6 @@ void input_item_SetEpg( input_item_t *p_item,
         event.type = vlc_InputItemInfoChanged;
         vlc_event_send( &p_item->event_manager, &event );
     }
-#endif
 }
 
 




More information about the vlc-devel mailing list