summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index bfb5d76..3bb0ac8 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -818,6 +818,7 @@ on_completion_display_matches_hook(char **matches,
#endif
}
+#endif
#ifdef HAVE_RL_RESIZE_TERMINAL
static volatile sig_atomic_t sigwinch_received;
@@ -876,7 +877,6 @@ on_completion(const char *text, int state)
}
return result;
}
-#endif
/* A more flexible constructor that saves the "begidx" and "endidx"