diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-09-07 19:38:55 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-09-07 19:38:55 +0000 |
commit | 875561fc2f5833451ed2ddb4fe40de860e760502 (patch) | |
tree | 3c04b8323b79fb4c88af4b356cbe62ea1acecfaf /include/asterisk/compiler.h | |
parent | a3a02316f26f2559aeff0db0e834417fae3a90fd (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: https://origsvn.digium.com/svn/asterisk/trunk@285337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 |