diff options
Diffstat (limited to 'include/xine/attributes.h')
-rw-r--r-- | include/xine/attributes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xine/attributes.h b/include/xine/attributes.h index b25c76572..c339e7113 100644 --- a/include/xine/attributes.h +++ b/include/xine/attributes.h @@ -51,6 +51,12 @@ # define XINE_SENTINEL #endif +#ifdef SUPPORT_ATTRIBUTE_DEPRECATED +# define XINE_DEPRECATED __attribute__((__deprecated__)) +#else +# define XINE_DEPRECATED +#endif + #ifndef __attr_unused # ifdef SUPPORT_ATTRIBUTE_UNUSED # define __attr_unused __attribute__((__unused__)) |