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
|
@ -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…
Reference in New Issue