[vlc-devel] commit: Fix compilation. (Pierre d'Herbemont )

git version control git at videolan.org
Mon May 25 12:53:55 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon May 25 03:51:30 2009 -0700| [1443f97d7fcdff9e0efc02fe3d3cc35cb57f5d85] | committer: Pierre d'Herbemont 

Fix compilation.

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

 include/vlc/libvlc_events.h        |    4 ++++
 include/vlc/libvlc_media_library.h |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
index 08e52a5..53233c9 100644
--- a/include/vlc/libvlc_events.h
+++ b/include/vlc/libvlc_events.h
@@ -44,7 +44,11 @@ extern "C" {
  * @{
  */
 
+#ifdef __cplusplus
+enum libvlc_event_type_e {
+#else
 enum libvlc_event_type_t {
+#else
     /* Append new event types at the end.
      * Do not remove, insert or re-order any entry. */
     libvlc_MediaMetaChanged,
diff --git a/include/vlc/libvlc_media_library.h b/include/vlc/libvlc_media_library.h
index 70e1b80..d2192bc 100644
--- a/include/vlc/libvlc_media_library.h
+++ b/include/vlc/libvlc_media_library.h
@@ -99,8 +99,5 @@ VLC_PUBLIC_API libvlc_media_list_t *
 
 
 /** @} */
-# ifdef __cplusplus
-}
-# endif
 
 #endif /* VLC_LIBVLC_MEDIA_LIBRARY_H */




More information about the vlc-devel mailing list