[vlc-devel] commit: Fix compilation. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Jun 9 07:35:51 CEST 2009
vlc | branch: 1.0-bugfix | Pierre d'Herbemont <pdherbemont at free.fr> | Mon May 25 03:51:30 2009 -0700| [a6b030c6c7ab7cad303b3ce58b166c06141f3fd0] | committer: Pierre d'Herbemont
Fix compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6b030c6c7ab7cad303b3ce58b166c06141f3fd0
---
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 11a7044..a2ac2b1 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