mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
Older libedit versions (like Apple's) use a different type signature for rl_startup_hook and rl_pre_input_hook. Add a configure check to determine which signature is accepted by introducing the Py_RL_STARTUP_HOOK_TAKES_ARGS macro in pyconfig.h.
1 line
108 B
ReStructuredText
1 line
108 B
ReStructuredText
Fix building against recent libedit versions by detecting readline hook signatures in :program:`configure`.
|