Add guard around the prototype for completion_matches to enable

compilition with libedit on OSX 10.5
This commit is contained in:
Ronald Oussoren 2010-02-11 13:13:08 +00:00
parent 031ae6e904
commit 333fca9b3e
1 changed files with 3 additions and 0 deletions

View File

@ -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__
/*