mirror of
https://github.com/python/cpython.git
synced 2026-02-05 09:25:35 +00:00
Add guard around the prototype for completion_matches to enable
compilition with libedit on OSX 10.5
This commit is contained in:
parent
031ae6e904
commit
333fca9b3e
1 changed files with 3 additions and 0 deletions
|
|
@ -38,9 +38,12 @@
|
|||
#if defined(_RL_FUNCTION_TYPEDEF)
|
||||
extern char **completion_matches(char *, rl_compentry_func_t *);
|
||||
#else
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
extern char **completion_matches(char *, CPFunction *);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue