[vlc-devel] commit: Fix compile if you don't have localtime_r (Win32 for ex) ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 20 20:38:14 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 20 20:37:31 2009 +0200| [5c7b0ce981d9d45f24094e68037d4c119354564c] | committer: Jean-Baptiste Kempf 

Fix compile if you don't have localtime_r (Win32 for ex)

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

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

diff --git a/src/input/item.c b/src/input/item.c
index 903e537..70f5a7d 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -748,6 +748,8 @@ void input_item_SetEpg( input_item_t *p_item,
         event.type = vlc_InputItemInfoChanged;
         vlc_event_send( &p_item->event_manager, &event );
     }
+#else
+    VLC_UNUSED( p_epg );
 #endif
 }
 




More information about the vlc-devel mailing list