diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-07 06:51:26 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-07 06:51:26 (GMT) |
commit | 783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1 (patch) | |
tree | 5e1d5995a0c37acd33b6334fb2eebb90e8fd449b /Modules/nismodule.c | |
parent | b0d9ca92586a955f497682eb3e689b47d16cbb68 (diff) | |
download | cpython-783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1.zip cpython-783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1.tar.gz cpython-783f86ecb1b3731d1c2ca2be11d3067ad8d5a4f1.tar.bz2 |
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.
........
Diffstat (limited to 'Modules/nismodule.c')
-rw-r--r-- | Modules/nismodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index c2646eb..4be4657 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix) 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 *); |