[vlc-devel] commit: update: Fix vlc_update header when UPDATE_CHECK is disabled. ( Pierre d'Herbemont )
git version control
git at videolan.org
Wed May 28 01:40:08 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed May 28 01:40:37 2008 +0200| [9f7848e1796237eedafed575ee543a52977f5fda]
update: Fix vlc_update header when UPDATE_CHECK is disabled.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f7848e1796237eedafed575ee543a52977f5fda
---
include/vlc_update.h | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/vlc_update.h b/include/vlc_update.h
index b9dbda8..3abc011 100644
--- a/include/vlc_update.h
+++ b/include/vlc_update.h
@@ -26,8 +26,6 @@
#error You are not libvlc or one of its plugins. You cannot include this file
#endif
-#ifdef UPDATE_CHECK
-
#ifndef _VLC_UPDATE_H
#define _VLC_UPDATE_H
@@ -39,6 +37,8 @@
* @{
*/
+#ifdef UPDATE_CHECK
+
/**
* Describes an update VLC release number
*/
@@ -52,6 +52,9 @@ struct update_release_t
char* psz_desc; ///< Release description
};
+
+#endif /* UPDATE_CHECK */
+
typedef struct update_release_t update_release_t;
#define update_New( a ) __update_New( VLC_OBJECT( a ) )
@@ -67,6 +70,4 @@ VLC_EXPORT( update_release_t*, update_GetRelease, ( update_t * ) );
* @}
*/
-#endif
-
-#endif
+#endif /* _VLC_UPDATE_H */
More information about the vlc-devel
mailing list