]> git.sesse.net Git - vlc/commitdiff
Fix compilation.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 25 May 2009 10:51:30 +0000 (03:51 -0700)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 25 May 2009 10:53:49 +0000 (03:53 -0700)
include/vlc/libvlc_events.h
include/vlc/libvlc_media_library.h

index 08e52a5a891d53a8d6bd0b7c9b4ed98ebc16cf13..53233c959c9459811f65c483f7f63df7a1bbe455 100644 (file)
@@ -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,
index 70e1b805717283c94e5770eea1056680ae9eb7de..d2192bc788e8bce7b33a2f1f05826b5e95d21676 100644 (file)
@@ -99,8 +99,5 @@ VLC_PUBLIC_API libvlc_media_list_t *
 
 
 /** @} */
-# ifdef __cplusplus
-}
-# endif
 
 #endif /* VLC_LIBVLC_MEDIA_LIBRARY_H */