Fix build on FreeBSD 8.0, take 2.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-09-07 19:38:12 +00:00
parent 6df1f446c9
commit f7f7eaa3a0
2 changed files with 7 additions and 1 deletions

View File

@@ -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