]> granicus.if.org Git - python/commitdiff
Merged revisions 78148 via svnmerge from
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 11 Feb 2010 13:15:00 +0000 (13:15 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Thu, 11 Feb 2010 13:15:00 +0000 (13:15 +0000)
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
........

Modules/readline.c

index 705d766b9704c87cfea3340b2638a1d95f8fbe29..a3dc4d9785b638a290ebc6485fe29f5e1e83fbe8 100644 (file)
 #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__
 /*