From 90bb53f8c9b7ca3db6841a5005af791b93782d96 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sat, 3 May 2008 14:34:45 +0100 Subject: Add support for "deprecated" attribute. --- src/xine-utils/attributes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/xine-utils/attributes.h b/src/xine-utils/attributes.h index 563832e5c..2085be571 100644 --- a/src/xine-utils/attributes.h +++ b/src/xine-utils/attributes.h @@ -63,6 +63,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__)) -- cgit v1.2.3