[Python-checkins] r73874 - in python/branches/py3k: Modules/nismodule.c

amaury.forgeotdarc python-checkins at python.org
Tue Jul 7 08:51:26 CEST 2009


Author: amaury.forgeotdarc
Date: Tue Jul  7 08:51:26 2009
New Revision: 73874

Log:
Merged revisions 73873 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73873 | amaury.forgeotdarc | 2009-07-07 08:49:41 +0200 (mar., 07 juil. 2009) | 2 lines
  
  #6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
........


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

Modified: python/branches/py3k/Modules/nismodule.c
==============================================================================
--- python/branches/py3k/Modules/nismodule.c	(original)
+++ python/branches/py3k/Modules/nismodule.c	Tue Jul  7 08:51:26 2009
@@ -89,7 +89,7 @@
 	return map;
 }
 
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
 typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *);
 #else
 typedef int (*foreachfunc)(int, char *, int, char *, int, char *);


More information about the Python-checkins mailing list