[Python-checkins] r78149 - in python/branches/py3k: Modules/readline.c

ronald.oussoren python-checkins at python.org
Thu Feb 11 14:15:00 CET 2010


Author: ronald.oussoren
Date: Thu Feb 11 14:15:00 2010
New Revision: 78149

Log:
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
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Modules/readline.c

Modified: python/branches/py3k/Modules/readline.c
==============================================================================
--- python/branches/py3k/Modules/readline.c	(original)
+++ python/branches/py3k/Modules/readline.c	Thu Feb 11 14:15:00 2010
@@ -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__
 /*


More information about the Python-checkins mailing list