From: Todd V. <tv...@po...> - 2003-06-16 18:04:22
|
This fixes compilation in the no-threads case for an emulated 68k, where SIG_IRQ is neither defined nor used. Index: main_unix.cpp =================================================================== RCS file: /cvs/BasiliskII/src/Unix/main_unix.cpp,v retrieving revision 1.52 diff -u -r1.52 main_unix.cpp --- main_unix.cpp 14 May 2003 06:50:05 -0000 1.52 +++ main_unix.cpp 16 Jun 2003 17:59:43 -0000 @@ -615,7 +615,9 @@ // Start 60Hz timer sigemptyset(&timer_sa.sa_mask); // Block virtual 68k interrupts during SIGARLM handling +#if !EMULATED_68K sigaddset(&timer_sa.sa_mask, SIG_IRQ); +#endif timer_sa.sa_handler = one_tick; timer_sa.sa_flags = SA_ONSTACK | SA_RESTART; if (sigaction(SIGALRM, &timer_sa, NULL) < 0) { -- -- Todd Vierling <tv...@po...> |