diff options
Diffstat (limited to 'Modules/nismodule.c')
-rw-r--r-- | Modules/nismodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index 0a38ee8..2494adb 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -68,7 +68,11 @@ nis_mapname (char *map, int *pfix) return map; } +#ifdef __APPLE__ +typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *); +#else typedef int (*foreachfunc)(int, char *, int, char *, int, char *); +#endif struct ypcallback_data { PyObject *dict; |