summaryrefslogtreecommitdiff
path: root/input.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 /input.c
parentd36dbd6441a3864f1a6a64baefe127fa729d0fb3 (diff)
fix RESTART thinko
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 3b60677..1114f7f 100644
--- a/input.c
+++ b/input.c
@@ -88,7 +88,7 @@ static int stringgchar() {
/* signal-safe readline wrapper */
#if READLINE
-#ifndef HAVE_RESTARTABLE_SYSCALLS
+#ifdef HAVE_RESTARTABLE_SYSCALLS
static char *rc_readline(char *prompt) {
char *r;
interrupt_happened = FALSE;