Commit a326574d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vlc.h: Don't actually put the __attribute__((deprecated)) when the header is used by libvlc.

parent ff40ba2d
......@@ -169,11 +169,16 @@ struct vlc_list_t
*****************************************************************************/
#ifndef VLC_DEPRECATED_API
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# ifdef __LIBVLC__
/* Avoid unuseful warnings from libvlc with our deprecated APIs */
# define VLC_DEPRECATED_API VLC_PUBLIC_API
# else /* __LIBVLC__ */
# if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define VLC_DEPRECATED_API VLC_PUBLIC_API __attribute__((deprecated))
#else
# else
# define VLC_DEPRECATED_API VLC_PUBLIC_API
#endif
# endif
# endif /* __LIBVLC__ */
#endif
/*****************************************************************************
......
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