Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit e93eee7

Browse files
committed
python#6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
1 parent fd00916 commit e93eee7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/nismodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix)
8989
return map;
9090
}
9191

92-
#ifdef __APPLE__
92+
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
9393
typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *);
9494
#else
9595
typedef int (*foreachfunc)(int, char *, int, char *, int, char *);

0 commit comments

Comments
 (0)