summaryrefslogtreecommitdiffhomepage
path: root/mixutils
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-25 22:00:18 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-25 22:00:18 +0000
commit02108b05dac2d5426a2740929261046812b9cec7 (patch)
tree86680ee444dc3b79da1e1748f029fd39c416dbbb /mixutils
parentdb934852a95f4ee7af02f3a8431b286a7d6a7366 (diff)
downloadmdk-02108b05dac2d5426a2740929261046812b9cec7.tar.gz
mdk-02108b05dac2d5426a2740929261046812b9cec7.tar.bz2
rl_completion_matches check
Diffstat (limited to 'mixutils')
-rw-r--r--mixutils/mixvm_command.c5
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 */