Define rl_completion_matches for readline < 4.2
Showing
1 changed file
with
5 additions
and
0 deletions
... | @@ -99,3 +99,8 @@ | ... | @@ -99,3 +99,8 @@ |
99 | #else | 99 | #else |
100 | # define MU_PATH_MAILDIR _PATH_MAILDIR "/" | 100 | # define MU_PATH_MAILDIR _PATH_MAILDIR "/" |
101 | #endif | 101 | #endif |
102 | |||
103 | /* Newer versions of readline have rl_completion_matches */ | ||
104 | #ifndef HAVE_RL_COMPLETION_MATCHES | ||
105 | # define rl_completion_matches completion_matches | ||
106 | #endif | ... | ... |
-
Please register or sign in to post a comment