summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
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;