aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-01 18:40:25 +0000
committerrsc <devnull@localhost>2005-05-01 18:40:25 +0000
commit40ce5ba674ec42fe33420e58b811e83a3a643c1c (patch)
tree7cc0e8a1a201bea4a3f5d097b04733679cddc318 /src
parent52e6164443782187e17e22f7ccddd0d9a25006e4 (diff)
downloadplan9port-40ce5ba674ec42fe33420e58b811e83a3a643c1c.tar.gz
plan9port-40ce5ba674ec42fe33420e58b811e83a3a643c1c.tar.bz2
plan9port-40ce5ba674ec42fe33420e58b811e83a3a643c1c.zip
For Mac OS X Tiger - no SIGIO, SIGWINCH, or WCOREDUMP.
Diffstat (limited to 'src')
-rw-r--r--src/lib9/await.c8
1 files changed, 8 insertions, 0 deletions
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 <sys/resource.h>
#include <sys/wait.h>
+#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