fix machine-dependant #if's

This commit is contained in:
ceriel 1991-09-04 15:49:34 +00:00
parent 620f7e3d49
commit 4fd7747338
3 changed files with 3 additions and 11 deletions

View file

@ -82,9 +82,7 @@ catch(trapno)
*p = 0;
_Traps__Message(q, 0, (int) (p - q), 1);
}
#ifndef em24
#ifndef em44
#ifndef em22
#if !defined(__em24) && !defined(__em44) && !defined(__em22)
if (trapno == M2_UNIXSIG) {
extern int __signo;
signal(__signo, SIG_DFL);
@ -92,8 +90,6 @@ catch(trapno)
kill(getpid(), __signo);
_exit(trapno);
}
#endif
#endif
#endif
if (trapno != M2_FORCH) {
_cleanup();

View file

@ -31,7 +31,7 @@ init()
sigtrp(M2_UNIXSIG, SIGALRM);
sigtrp(M2_UNIXSIG, SIGTERM);
}
#if em22 || em24 || em44
#if defined(__em22) || defined(__em24) || defined(__em44)
killbss()
{
}

View file

@ -10,9 +10,7 @@
Version: $Header$
*/
#ifndef em22
#ifndef em24
#ifndef em44
#if !defined(__em22) && !defined(__em24) && !defined(__em44)
#define EM_trap(n) TRP(n) /* define to whatever is needed to cause the trap */
@ -82,5 +80,3 @@ sigtrp(trapno, signo)
return oldtrap;
}
#endif
#endif
#endif