sal/osl/unx/signal.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

New commits:
commit b8e68951d56cfd01cf63c3ee04b49a862b685bc5
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Mar 27 11:31:12 2013 +0100

    -Werror=unused-macros (Android)
    
    Change-Id: Ibd06e49e78a6d6a69521a65b53b056e85b64765b

diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index e80a4eb..24c170a 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -21,8 +21,6 @@
 /* system headers */
 #include "system.h"
 
-#define MAX_STACK_FRAMES 256
-
 #if defined( MACOSX )
 
 #if defined( INTEL )
@@ -55,6 +53,10 @@
 
 #endif /* defined SOLARIS */
 
+#if defined INCLUDE_BACKTRACE
+#define MAX_STACK_FRAMES 256
+#endif
+
 #include <osl/diagnose.h>
 #include <osl/mutex.h>
 #include <osl/signal.h>
@@ -409,8 +411,6 @@ static int fputs_xml( const char *string, FILE *stream )
 
 /* Create intermediate files and run crash reporter */
 
-#define REPORTENV_PARAM     "-crashreportenv:"
-
 #if defined SAL_ENABLE_CRASH_REPORT && defined INCLUDE_BACKTRACE && \
     defined LINUX
 
@@ -496,6 +496,9 @@ dynamic_section_offset(const char *name)
 static int ReportCrash( int Signal )
 {
 #ifdef SAL_ENABLE_CRASH_REPORT
+
+#define REPORTENV_PARAM     "-crashreportenv:"
+
     static sal_Bool bCrashReporterExecuted = sal_False;
     sal_Bool        bAutoCrashReport = sal_False;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to