From 40ce5ba674ec42fe33420e58b811e83a3a643c1c Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 1 May 2005 18:40:25 +0000 Subject: For Mac OS X Tiger - no SIGIO, SIGWINCH, or WCOREDUMP. --- src/lib9/await.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib9') diff --git a/src/lib9/await.c b/src/lib9/await.c index 7d0ca916..81ac0b33 100644 --- a/src/lib9/await.c +++ b/src/lib9/await.c @@ -8,6 +8,10 @@ #include #include +#ifndef WCOREDUMP /* not on Mac OS X Tiger */ +#define WCOREDUMP(status) 0 +#endif + static struct { int sig; char *str; @@ -34,12 +38,16 @@ static struct { SIGCHLD, "sys: child", SIGTTIN, "sys: ttin", SIGTTOU, "sys: ttou", +#ifdef SIGIO /* not on Mac OS X Tiger */ SIGIO, "sys: i/o possible on fd", +#endif SIGXCPU, "sys: cpu time limit exceeded", SIGXFSZ, "sys: file size limit exceeded", SIGVTALRM, "sys: virtual time alarm", SIGPROF, "sys: profiling timer alarm", +#ifdef SIGWINCH /* not on Mac OS X Tiger */ SIGWINCH, "sys: window size change", +#endif #ifdef SIGINFO SIGINFO, "sys: status request", #endif -- cgit v1.2.3