commit - 52e6164443782187e17e22f7ccddd0d9a25006e4
commit + 40ce5ba674ec42fe33420e58b811e83a3a643c1c
blob - 7d0ca916161abfcbd4246ef2dbe99d3abfe58920
blob + 81ac0b3396037f70ffd1430e7122c238bdd1f27e
--- src/lib9/await.c
+++ src/lib9/await.c
#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;
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