[Python-checkins] r73873 - python/trunk/Modules/nismodule.c
amaury.forgeotdarc
python-checkins at python.org
Tue Jul 7 08:49:41 CEST 2009
Author: amaury.forgeotdarc
Date: Tue Jul 7 08:49:41 2009
New Revision: 73873
Log:
#6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
Modified:
python/trunk/Modules/nismodule.c
Modified: python/trunk/Modules/nismodule.c
==============================================================================
--- python/trunk/Modules/nismodule.c (original)
+++ python/trunk/Modules/nismodule.c Tue Jul 7 08:49:41 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