Merged revisions 77348 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 26 Jul 2007 19:29:12 +0000 (19:29 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 26 Jul 2007 19:29:12 +0000 (19:29 +0000)
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

main/logger.c

index 49d4a64..dc277d1 100644 (file)
@@ -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
        int count=0, i=0;
        void **addresses;
 #ifdef AST_DEVMODE
        int count=0, i=0;
        void **addresses;
@@ -975,7 +975,7 @@ void ast_backtrace(void)
 #else
        ast_log(LOG_WARNING, "Must run configure with '--enable-dev-mode' for stack backtraces.\n");
 #endif
 #else
        ast_log(LOG_WARNING, "Must run configure with '--enable-dev-mode' for stack backtraces.\n");
 #endif
-#else /* ndef Linux */
+#else /* ndef linux */
        ast_log(LOG_WARNING, "Inline stack backtraces are only available on the Linux platform.\n");
 #endif
 }
        ast_log(LOG_WARNING, "Inline stack backtraces are only available on the Linux platform.\n");
 #endif
 }