diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-05-03 14:34:45 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-05-03 14:34:45 +0100 |
commit | 90bb53f8c9b7ca3db6841a5005af791b93782d96 (patch) | |
tree | dfb47862d7bb0ada90ce2bbc32a781f24ed3774a /src | |
parent | 8d953c5c5cac93671c779cbf9176c6115e7294fa (diff) | |
download | xine-lib-90bb53f8c9b7ca3db6841a5005af791b93782d96.tar.gz xine-lib-90bb53f8c9b7ca3db6841a5005af791b93782d96.tar.bz2 |
Add support for "deprecated" attribute.
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/attributes.h | 6 |
1 files changed, 6 insertions, 0 deletions
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__)) |