mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
gh-109191: Fix build with newer editline (gh-110239)
This commit is contained in:
parent
12cc6792d0
commit
f4cb0d27cc
5 changed files with 31 additions and 1 deletions
|
@ -446,7 +446,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue