Mercurial > mplayer.hg
changeset 12290:de133f53c88f
attribute_used macro
author | alex |
---|---|
date | Mon, 26 Apr 2004 09:44:06 +0000 |
parents | e197979a0883 |
children | 4e6f75467d64 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Mon Apr 26 09:33:35 2004 +0000 +++ b/configure Mon Apr 26 09:44:06 2004 +0000 @@ -6106,6 +6106,13 @@ /* "restrict" keyword */ #define restrict $_def_restrict_keyword +/* attribute(used) as needed by some compilers */ +#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300) +# define attribute_used __attribute__((used)) +#else +# define attribute_used +#endif + #define PREFIX "$_prefix" #define USE_OSD 1