diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-07 19:38:55 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-07 19:38:55 +0000 |
commit | 7b30444d8040f5eba390b48cb76edf9b8706c194 (patch) | |
tree | 3c04b8323b79fb4c88af4b356cbe62ea1acecfaf /include/asterisk/compiler.h | |
parent | 9dcd3bed163070a571fc010093539d2720a4c4a3 (diff) |
Merged revisions 285336 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r285336 | tilghman | 2010-09-07 14:38:12 -0500 (Tue, 07 Sep 2010) | 2 lines
Fix build on FreeBSD 8.0, take 2.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@285337 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compiler.h')
-rw-r--r-- | include/asterisk/compiler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h index b2db7ffdb..91112dbfe 100644 --- a/include/asterisk/compiler.h +++ b/include/asterisk/compiler.h @@ -41,6 +41,12 @@ #define attribute_const #endif +#ifdef HAVE_ATTRIBUTE_deprecated +#define attribute_deprecated __attribute__((deprecated)) +#else +#define attribute_deprecated +#endif + #ifdef HAVE_ATTRIBUTE_unused #define attribute_unused __attribute__((unused)) #else |