diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-09 14:01:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 14:01:00 (GMT) |
commit | 53122bcf825681487226c041d47763e82e081530 (patch) | |
tree | 6eb3b501e9af8c58c30a405daad8fb4a0583e472 /Modules | |
parent | 5afac0cf8d50db62aa1edefebde8a0af5fed0cd4 (diff) | |
download | cpython-53122bcf825681487226c041d47763e82e081530.zip cpython-53122bcf825681487226c041d47763e82e081530.tar.gz cpython-53122bcf825681487226c041d47763e82e081530.tar.bz2 |
[3.12] gh-109191: Fix build with newer editline (gh-110239) (gh-110562)
gh-109191: Fix build with newer editline (gh-110239)
(cherry picked from commit f4cb0d27cc08f490c42a22e646eb73cc7072d54a)
Co-authored-by: Bo Anderson <mail@boanderson.me>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index 2824105..9823ebe 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -442,7 +442,7 @@ readline_set_completion_display_matches_hook_impl(PyObject *module, default completion display. */ rl_completion_display_matches_hook = readlinestate_global->completion_display_matches_hook ? -#if defined(_RL_FUNCTION_TYPEDEF) +#if defined(HAVE_RL_COMPDISP_FUNC_T) (rl_compdisp_func_t *)on_completion_display_matches_hook : 0; #else (VFunction *)on_completion_display_matches_hook : 0; |