diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-25 22:00:18 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-25 22:00:18 +0000 |
commit | 6dbc24d904d8dd71ece310e08cd01be72efff703 (patch) | |
tree | 762319da2265f4624ab0107092e99085ce556ca6 /mixutils | |
parent | dfb708e1033d172a58a4e9c15e7b6458ac90bd2d (diff) | |
download | mdk-6dbc24d904d8dd71ece310e08cd01be72efff703.tar.gz mdk-6dbc24d904d8dd71ece310e08cd01be72efff703.tar.bz2 |
rl_completion_matches check
Diffstat (limited to 'mixutils')
-rw-r--r-- | mixutils/mixvm_command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c index d13e5ac..610f79a 100644 --- a/mixutils/mixvm_command.c +++ b/mixutils/mixvm_command.c @@ -30,7 +30,10 @@ #ifdef HAVE_LIBREADLINE # include <readline/readline.h> # include <readline/history.h> -#else +# ifndef HAVE_RL_COMPLETION_MATCHES /* old versions of rl don't use rl_ */ +# define rl_completion_matches completion_matches +# endif +#else /* ! HAVE_LIBREADLINE */ typedef int Function (); #endif /* HAVE_LIBREADLINE */ |