summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-05 14:49:07 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:01 +0100
commit784e5340c6b56ed2495eb5debe06ee43f9c2ddb3 (patch)
tree9850f212f9e28d93a457ab4cdafa05cd76263a7a /signal.c
parentd36dbd6441a3864f1a6a64baefe127fa729d0fb3 (diff)
fix RESTART thinko
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 1c3f812..385c6de 100644
--- a/signal.c
+++ b/signal.c
@@ -19,7 +19,7 @@ extern void catcher(int s) {
}
signal(s, catcher);
interrupt_happened = TRUE;
-#ifndef HAVE_RESTARTABLE_SYSCALLS
+#ifdef HAVE_RESTARTABLE_SYSCALLS
if (slow)
longjmp(slowbuf.j, 1);
#endif