Commit 9f7848e1 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

update: Fix vlc_update header when UPDATE_CHECK is disabled.

parent e73624fd
......@@ -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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment