diff src/signal.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 6330739388db
line wrap: on
line diff
--- a/src/signal.c	Mon Aug 13 10:28:54 2007 +0200
+++ b/src/signal.c	Mon Aug 13 10:29:42 2007 +0200
@@ -643,7 +643,9 @@
       signal (SIGHUP,  fatal_error_signal);
       signal (SIGQUIT, fatal_error_signal);
       signal (SIGILL,  fatal_error_signal);
+#ifdef SIGTRAP
       signal (SIGTRAP, fatal_error_signal);
+#endif
 #ifdef SIGABRT
       signal (SIGABRT, fatal_error_signal);
 #endif
@@ -679,7 +681,9 @@
 #ifdef SIGSYS
       signal (SIGSYS, fatal_error_signal);
 #endif
+#ifdef SIGPIPE
       signal (SIGPIPE, fatal_error_signal);
+#endif
       signal (SIGTERM, fatal_error_signal);
 #ifdef SIGXCPU
       signal (SIGXCPU, fatal_error_signal);