fix machine-dependant #if's
This commit is contained in:
parent
89f849c696
commit
56c8e8651e
@ -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();
|
||||
|
||||
@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user