aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Signals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Signals.cpp')
-rw-r--r--lib/Support/Signals.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Support/Signals.cpp b/lib/Support/Signals.cpp
index 29daedf0fb..3b3468350d 100644
--- a/lib/Support/Signals.cpp
+++ b/lib/Support/Signals.cpp
@@ -24,8 +24,10 @@ static const int *IntSigsEnd = IntSigs + sizeof(IntSigs)/sizeof(IntSigs[0]);
// KillSigs - Signals that are synchronous with the program that will cause it
// to die.
static const int KillSigs[] = {
- SIGILL, SIGTRAP, SIGABRT, SIGEMT, SIGFPE,
- SIGBUS, SIGSEGV, SIGSYS, SIGXCPU, SIGXFSZ
+ SIGILL, SIGTRAP, SIGABRT, SIGFPE, SIGBUS, SIGSEGV, SIGSYS, SIGXCPU, SIGXFSZ
+#ifdef SIGEMT
+ , SIGEMT
+#endif
};
static const int *KillSigsEnd = KillSigs + sizeof(KillSigs)/sizeof(KillSigs[0]);