From 29241242598e7d88c2225c2bc79f13d95b25da50 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Wed, 22 Jun 2016 02:04:38 +0000 Subject: [PATCH] Issue #22463: Correct #endif placement; patch by Senthil Kumaran --- Modules/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/readline.c b/Modules/readline.c index bfb5d76172..3bb0ac8952 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" -- 2.50.1