Skip to content

Commit 25696bb

Browse files
Merged revisions 78148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78148 | ronald.oussoren | 2010-02-11 14:13:08 +0100 (Thu, 11 Feb 2010) | 3 lines Add guard around the prototype for completion_matches to enable compilition with libedit on OSX 10.5 ........
1 parent ddb3ed0 commit 25696bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Modules/readline.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@
3838
#if defined(_RL_FUNCTION_TYPEDEF)
3939
extern char **completion_matches(char *, rl_compentry_func_t *);
4040
#else
41+
42+
#if !defined(__APPLE__)
4143
extern char **completion_matches(char *, CPFunction *);
4244
#endif
4345
#endif
46+
#endif
4447

4548
#ifdef __APPLE__
4649
/*

0 commit comments

Comments
 (0)