mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Merged revisions 77348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77348 | tilghman | 2007-07-26 14:27:18 -0500 (Thu, 26 Jul 2007) | 2 lines Oops, that builtin define should be all-lowercase. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -953,7 +953,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
|
|||||||
|
|
||||||
void ast_backtrace(void)
|
void ast_backtrace(void)
|
||||||
{
|
{
|
||||||
#ifdef Linux
|
#ifdef linux
|
||||||
#ifdef AST_DEVMODE
|
#ifdef AST_DEVMODE
|
||||||
int count=0, i=0;
|
int count=0, i=0;
|
||||||
void **addresses;
|
void **addresses;
|
||||||
@@ -975,7 +975,7 @@ void ast_backtrace(void)
|
|||||||
#else
|
#else
|
||||||
ast_log(LOG_WARNING, "Must run configure with '--enable-dev-mode' for stack backtraces.\n");
|
ast_log(LOG_WARNING, "Must run configure with '--enable-dev-mode' for stack backtraces.\n");
|
||||||
#endif
|
#endif
|
||||||
#else /* ndef Linux */
|
#else /* ndef linux */
|
||||||
ast_log(LOG_WARNING, "Inline stack backtraces are only available on the Linux platform.\n");
|
ast_log(LOG_WARNING, "Inline stack backtraces are only available on the Linux platform.\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user