diff options
Diffstat (limited to 'ext/readline/readline.c')
-rw-r--r-- | ext/readline/readline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 4f840ee2c0..559e1c677b 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -34,7 +34,11 @@ static ID completion_proc, completion_case_fold; #ifndef HAVE_RL_FILENAME_COMPLETION_FUNCTION # define rl_filename_completion_function filename_completion_function +#endif +#ifndef HAVE_RL_USERNAME_COMPLETION_FUNCTION # define rl_username_completion_function username_completion_function +#endif +#ifndef HAVE_RL_COMPLETION_MATCHES # define rl_completion_matches completion_matches #endif |