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 2326dab18..544228664 100644 --- a/include/xine/attributes.h +++ b/include/xine/attributes.h @@ -78,6 +78,12 @@ # define XINE_DEPRECATED #endif +#ifdef SUPPORT_ATTRIBUTE_WEAK +# define XINE_WEAK __attribute__((weak)) +#else +# define XINE_WEAK +#endif + #ifndef __attr_unused # ifdef SUPPORT_ATTRIBUTE_UNUSED # define __attr_unused __attribute__((__unused__)) |