summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-11-29 22:18:04 +0000
committersmatz <smatz@openttd.org>2009-11-29 22:18:04 +0000
commit9ecfcdff78d68da1ccfc97236a64079d1c4c0eac (patch)
tree289ec03b0ead8d0ad934a2d88a8e84c1bb339829 /src
parent4b4c1ffc17890ec64059fa03bbc161473a6da0ee (diff)
downloadopenttd-9ecfcdff78d68da1ccfc97236a64079d1c4c0eac.tar.xz
(svn r18350) -Codechange: catch SIGILL under unix-like systems as well
Diffstat (limited to 'src')
-rw-r--r--src/os/unix/crashlog_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp
index ed7f2127f..c8314f5c8 100644
--- a/src/os/unix/crashlog_unix.cpp
+++ b/src/os/unix/crashlog_unix.cpp
@@ -136,7 +136,7 @@ public:
};
/** The signals we want our crash handler to handle. */
-static const int _signals_to_handle[] = { SIGSEGV, SIGABRT, SIGFPE, SIGBUS };
+static const int _signals_to_handle[] = { SIGSEGV, SIGABRT, SIGFPE, SIGBUS, SIGILL };
/**
* Entry point for the crash handler.