mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Modify file.h to maintain API compatibility with earlier versions. If a recent
compiler is being used, then a warning will show up for any modules still using the old name "private" instead of "_private". (patch suggested by paravoid) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@91032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,4 +53,10 @@
|
||||
#define attribute_malloc
|
||||
#endif
|
||||
|
||||
#if HAVE_ATTRIBUTE_deprecated
|
||||
#define attribute_deprecated __attribute__((deprecated))
|
||||
#else
|
||||
#define attribute_deprecated
|
||||
#endif
|
||||
|
||||
#endif /* _ASTERISK_COMPILER_H */
|
||||
|
||||
Reference in New Issue
Block a user