From: Philip Homburg Date: Fri, 17 Feb 2006 14:12:47 +0000 (+0000) Subject: Conditional compilation for SIGIOT and SIGEMT. X-Git-Tag: v3.1.2a~334 X-Git-Url: http://zhaoyanbai.com/repos/icons/valid-xhtml10.png?a=commitdiff_plain;h=b13e39ed1bfce4f2f0cec1a86cb6fc648f94fda7;p=minix.git Conditional compilation for SIGIOT and SIGEMT. --- diff --git a/lib/ack/libm2/init.c b/lib/ack/libm2/init.c index 29a0f3d1b..60e54cf34 100755 --- a/lib/ack/libm2/init.c +++ b/lib/ack/libm2/init.c @@ -21,8 +21,12 @@ init() sigtrp(M2_UNIXSIG, SIGQUIT); sigtrp(EILLINS, SIGILL); sigtrp(M2_UNIXSIG, SIGTRAP); +#ifdef SIGIOT sigtrp(M2_UNIXSIG, SIGIOT); +#endif +#if SIGEMT sigtrp(M2_UNIXSIG, SIGEMT); +#endif sigtrp(M2_UNIXSIG, SIGFPE); sigtrp(M2_UNIXSIG, SIGBUS); sigtrp(M2_UNIXSIG, SIGSEGV);