1 #include <exec/alerts.h>
2 #include <proto/exec.h>
6 VOID
Exec_CrashHandler(void)
8 struct Task
*task
= FindTask(NULL
);
9 struct IntETask
*iet
= GetIntETask(task
);
10 ULONG alertNum
= iet
->iet_AlertCode
;
12 iet
->iet_AlertCode
= 0; /* Makes Alert() attempting to bring up Intuition requester */