[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Wed Mar 27 06:00:47 PDT 2013
sal/osl/unx/signal.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6310424aff68ad0cb354b15b5c92324e933ffae2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 27 14:00:23 2013 +0100
-Werror=unused-macros
Change-Id: Ia02ff34be9eff80fd8f9d76f034d76c3791342f2
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index 4ce8fd5..9c55014 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -37,14 +37,17 @@
#include <execinfo.h>
#include <link.h>
#define INCLUDE_BACKTRACE
+#if defined SAL_ENABLE_CRASH_REPORT
#define STACKTYPE "Linux"
#endif
+#endif
#ifdef SOLARIS
#include "backtrace.h"
#define INCLUDE_BACKTRACE
+#if defined SAL_ENABLE_CRASH_REPORT
#if defined( SPARC )
#define STACKTYPE "Solaris_Sparc"
#elif defined( INTEL )
@@ -52,6 +55,7 @@
#else
#define STACKTYPE "Solaris_Unknown"
#endif
+#endif
#endif /* defined SOLARIS */
More information about the Libreoffice-commits
mailing list