summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-03-12 13:13:11 +0100
committersb <sb@openoffice.org>2010-03-12 13:13:11 +0100
commitba06fb6b9d99c704aa42d9e7f1397f6176a23b85 (patch)
tree1ea67d5bf493b5900805d0671ded5214385805d7
parentdbefcffd66fc5fdae8cce4464fad5eff88268cc3 (diff)
sb121: #i109280# if sal is not built with the crash reporter, then just dump core (patch by cmc)
-rw-r--r--sal/osl/unx/signal.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index 4190db980..ff574daf6 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -74,10 +74,14 @@
#include "file_path_helper.h"
#define ACT_IGNORE 1
-#define ACT_ABORT 2
-#define ACT_EXIT 3
-#define ACT_SYSTEM 4
-#define ACT_HIDE 5
+#define ACT_EXIT 2
+#define ACT_SYSTEM 3
+#define ACT_HIDE 4
+#ifdef SAL_ENABLE_CRASH_REPORT
+# define ACT_ABORT 5
+#else
+# define ACT_ABORT ACT_SYSTEM
+#endif
#define MAX_PATH_LEN 2048