mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user