# HG changeset patch # User alex # Date 1082972646 0 # Node ID de133f53c88f0dcece85d5b75d9b6f8bcd395459 # Parent e197979a0883df278beb4a647f5aad0b7212b074 attribute_used macro diff -r e197979a0883 -r de133f53c88f configure --- 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